Skip to content

Commit

Permalink
Custom object formatters - code style fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMystikJonas committed Jul 9, 2017
1 parent cdec1ee commit 1579bdd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/Mockery/WithCustomFormatterExpectationTest.php
Expand Up @@ -27,7 +27,7 @@ public function setUp()
{
\Mockery::getConfiguration()->setObjectFormatter(
'ClassWithCustomFormatter',
function($object) {
function ($object) {
return array(
"properties" => array(
"stringProperty" => $object->stringProperty
Expand All @@ -40,7 +40,7 @@ function($object) {
);
\Mockery::getConfiguration()->setObjectFormatter(
'InterfaceWithCustomFormatter',
function($object) {
function ($object) {
return array(
"properties" => array(
"stringProperty" => $object->stringProperty
Expand Down Expand Up @@ -159,7 +159,8 @@ class ClassWithCustomFormatter
private $arrayProperty = array('a', 'nother', 'array');
private $privateProperty = "private";

public function getArrayProperty() {
public function getArrayProperty()
{
return $this->arrayProperty;
}
}
Expand All @@ -179,7 +180,8 @@ class ClassImplementsWithCustomFormatter implements InterfaceWithCustomFormatter
private $privateProperty = "private";
private $arrayProperty = array('a', 'nother', 'array');

public function getArrayProperty() {
public function getArrayProperty()
{
return $this->arrayProperty;
}
}

0 comments on commit 1579bdd

Please sign in to comment.