8000 Fix indentation · laravel/framework@5b20adf · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b20adf

Browse files
committed
Fix indentation
1 parent b023247 commit 5b20adf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/Database/DatabaseEloquentPivotTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ public function testPropertiesAreSetCorrectly()
2424
}
2525

2626
public function testMutatorsAreCalledFromConstructor() {
27-
$parent = m::mock('Illuminate\Database\Eloquent\Model[getConnectionName]');
28-
$parent->shouldReceive('getConnectionName')->once()->andReturn('connection');
27+
$parent = m::mock('Illuminate\Database\Eloquent\Model[getConnectionName]');
28+
$parent->shouldReceive('getConnectionName')->once()->andReturn('connection');
2929

30-
$pivot = new DatabaseEloquentPivotTestMutatorStub($parent, array('foo' => 'bar'), 'table', true);
30+
$pivot = new DatabaseEloquentPivotTestMutatorStub($parent, array('foo' => 'bar'), 'table', true);
3131

32-
$this->assertTrue($pivot->getMutatorCalled());
32+
$this->assertTrue($pivot->getMutatorCalled());
3333
}
3434

3535

@@ -113,11 +113,11 @@ class DatabaseEloquentPivotTestMutatorStub extends Illuminate\Database\Eloquent\
113113
private $mutatorCalled = false;
114114

115115
public function setFooAttribute($value) {
116-
$this->mutatorCalled = true;
117-
return $value;
116+
$this->mutatorCalled = true;
117+
return $value;
118118
}
119119

120120
public function getMutatorCalled() {
121-
return $this->mutatorCalled;
121+
return $this->mutatorCalled;
122122
}
123123
}

0 commit comments

Comments
 (0)
0