function CallCenter::indentArguments
Parameters
string[] $arguments:
int $indentationLength:
Return value
string[]
1 call to CallCenter::indentArguments()
- CallCenter::createUnexpectedCallException in vendor/
phpspec/ prophecy/ src/ Prophecy/ Call/ CallCenter.php
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Call/ CallCenter.php, line 225
Class
- CallCenter
- Calls receiver & manager.
Namespace
Prophecy\CallCode
private function indentArguments(array $arguments, $indentationLength) {
return preg_replace_callback('/^/m', function () use ($indentationLength) {
return str_repeat(' ', $indentationLength);
}, $arguments);
}