mirror of
https://github.com/Mibew/handlebars.php.git
synced 2025-05-05 03:13:07 +03:00
Fixed to conform to coding standards
This commit is contained in:
parent
78974dee1b
commit
415e642351
@ -428,7 +428,8 @@ class Template
|
||||
*
|
||||
* @return array the argument list as an array
|
||||
*/
|
||||
public function parseArguments($string){
|
||||
public function parseArguments($string)
|
||||
{
|
||||
$parts = array();
|
||||
preg_match_all('#(?<!\\\\)("|\')(?:[^\\\\]|\\\\.)*?\1|\S+#s', $string, $parts);
|
||||
$parts = isset($parts[0])?$parts[0]:array();
|
||||
|
Loading…
Reference in New Issue
Block a user