Remove var_export where unnecessary

This commit is contained in:
Pascal Thormeier 2015-06-18 22:56:00 +02:00
parent 9ebacc28ae
commit 15af0f8e52
4 changed files with 10 additions and 10 deletions

View File

@ -199,7 +199,7 @@ class Context
throw new \InvalidArgumentException(
sprintf(
'Can not find variable in context: "%s"',
var_export($variableName, true)
$variableName
)
);
}
@ -221,7 +221,7 @@ class Context
throw new \InvalidArgumentException(
sprintf(
'Can not find variable in context: "%s"',
var_export($variableName, true)
$variableName
)
);
}
@ -237,7 +237,7 @@ class Context
throw new \InvalidArgumentException(
sprintf(
'Can not find variable in context: "%s"',
var_export($variableName, true)
$variableName
)
);
} else {

View File

@ -462,7 +462,7 @@ class Handlebars
throw new \InvalidArgumentException(
sprintf(
'Custom template class "%s" must extend Template',
var_export($class, true)
$class
)
);
}

View File

@ -102,7 +102,7 @@ class Helpers
throw new \InvalidArgumentException(
sprintf(
"%s Helper is not a callable or doesn't implement the Helper interface.",
var_export($name, true)
$name
)
);
}
@ -142,7 +142,7 @@ class Helpers
throw new \InvalidArgumentException(
sprintf(
'Unknown helper: "%s"',
var_export($name, true)
$name
)
);
}
@ -182,7 +182,7 @@ class Helpers
throw new \InvalidArgumentException(
sprintf(
'Unknown helper: "%s"',
var_export($name, true)
$name
)
);
}
@ -242,7 +242,7 @@ class Helpers
throw new \InvalidArgumentException(
sprintf(
'Unknown helper: "%s"',
var_export($name, true)
$name
)
);
}

View File

@ -409,7 +409,7 @@ class Template
throw new \RuntimeException(
sprintf(
'"%s" is not registered as a helper',
var_export($sectionName, true)
$sectionName
)
);
}
@ -469,7 +469,7 @@ class Template
throw new \RuntimeException(
sprintf(
'"%s"" is not registered as a helper',
var_export($sectionName, true)
$sectionName
)
);
}