mirror of
https://github.com/Mibew/handlebars.php.git
synced 2024-11-15 08:44:12 +03:00
Remove var_export where unnecessary
This commit is contained in:
parent
9ebacc28ae
commit
15af0f8e52
@ -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 {
|
||||
|
@ -462,7 +462,7 @@ class Handlebars
|
||||
throw new \InvalidArgumentException(
|
||||
sprintf(
|
||||
'Custom template class "%s" must extend Template',
|
||||
var_export($class, true)
|
||||
$class
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -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
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -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
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user