|
@@ -135,7 +135,7 @@ discard block |
|
|
block discarded – undo |
|
135
|
135
|
$expectedParms = count($baseParms); |
|
136
|
136
|
$actualParms = count($parms); |
|
137
|
137
|
if ($expectedParms != $actualParms) { |
|
138
|
|
- $msg = 'Was expecting '. $expectedParms. ' arguments, received '.$actualParms.' instead'; |
|
|
138
|
+ $msg = 'Was expecting ' . $expectedParms . ' arguments, received ' . $actualParms . ' instead'; |
|
139
|
139
|
throw new \InvalidArgumentException($msg); |
|
140
|
140
|
} |
|
141
|
141
|
|
|
@@ -150,7 +150,7 @@ discard block |
|
|
block discarded – undo |
|
150
|
150
|
private function checkBlacklist($func, $fromArray = false) |
|
151
|
151
|
{ |
|
152
|
152
|
if (in_array($func, $this->blacklist) || in_array(mb_strtolower($func), $this->blacklist)) { |
|
153
|
|
- $msg = (true === $fromArray ? 'First element of ' : '').'FunctionName blacklisted'; |
|
|
153
|
+ $msg = (true === $fromArray ? 'First element of ' : '') . 'FunctionName blacklisted'; |
|
154
|
154
|
throw new \InvalidArgumentException($msg); |
|
155
|
155
|
} |
|
156
|
156
|
} |
Please login to merge, or discard this patch.