Skip to content

Commit 7d0d7dc

Browse files
authored
Merge pull request #292 from DirectoryTree/analysis-3wk5NY
Apply fixes from StyleCI [ci skip] [skip ci]
2 parents 06244ce + a0c399d commit 7d0d7dc

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/Testing/Emulated/EmulatesModelQueries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function deleteAttributes($dn, array $attributes)
7777
if (! $model = $this->find($dn)) {
7878
return false;
7979
}
80-
80+
8181
foreach ($attributes as $attribute => $value) {
8282
if (empty($value)) {
8383
$model->{$attribute} = null;

tests/Feature/Emulator/EmulatedModelQueryTest.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ public function test_get_only_returns_matching_object_classes()
255255
{
256256
TestModelStub::create(['cn' => ['John']]);
257257

258-
$model = new class extends Entry {
258+
$model = new class extends Entry
259+
{
259260
public static $objectClasses = ['three', 'four'];
260261
};
261262

@@ -611,12 +612,14 @@ public function test_domain_scoping()
611612
DirectoryEmulator::setup('alpha');
612613
DirectoryEmulator::setup('bravo');
613614

614-
$alpha = new class extends Entry {
615+
$alpha = new class extends Entry
616+
{
615617
protected $connection = 'alpha';
616618
public static $objectClasses = ['one', 'two'];
617619
};
618620

619-
$bravo = new class extends Entry {
621+
$bravo = new class extends Entry
622+
{
620623
protected $connection = 'bravo';
621624
public static $objectClasses = ['one', 'two'];
622625
};

0 commit comments

Comments
 (0)