Skip to content

Commit

Permalink
Custom formatters refactoring - coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMystikJonas committed Jan 24, 2021
1 parent 10cf1d7 commit d46d566
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/Mockery.php
Expand Up @@ -662,7 +662,7 @@ private static function objectToArray($object, $nesting = 3)
return array('...');
}

$defaultFormatter = function($object, $nesting) {
$defaultFormatter = function ($object, $nesting) {
return array('properties' => self::extractInstancePublicProperties($object, $nesting));
};

Expand Down
2 changes: 1 addition & 1 deletion tests/Mockery/WithCustomFormatterExpectationTest.php
Expand Up @@ -60,7 +60,7 @@ function ($object, $nesting) {
*/
public function testGetObjectFormatter($object, $expected)
{
$defaultFormatter = function($class, $nesting) {
$defaultFormatter = function ($class, $nesting) {
return null;
};

Expand Down

0 comments on commit d46d566

Please sign in to comment.