Skip to content

Commit ac2e994

Browse files
authored
Merge pull request #30984 from laravel/5.5-cs
[5.5] Code style fixes
2 parents 25e0775 + 806db1f commit ac2e994

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

tests/Database/DatabaseEloquentHasManyThroughIntegrationTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function testWhereHasOnARelationWithCustomIntermediateAndLocalKey()
126126
public function testFirstOrFailThrowsAnException()
127127
{
128128
HasManyThroughTestCountry::create(['id' => 1, 'name' => 'United States of America', 'shortname' => 'us'])
129-
->users()->create(['id' => 1, 'email' => '[email protected]', 'country_short' => 'us']);
129+
->users()->create(['id' => 1, 'email' => '[email protected]', 'country_short' => 'us']);
130130

131131
HasManyThroughTestCountry::first()->posts()->firstOrFail();
132132
}
@@ -210,9 +210,9 @@ protected function seedData()
210210
HasManyThroughTestCountry::create(['id' => 1, 'name' => 'United States of America', 'shortname' => 'us'])
211211
->users()->create(['id' => 1, 'email' => '[email protected]', 'country_short' => 'us'])
212212
->posts()->createMany([
213-
['title' => 'A title', 'body' => 'A body', 'email' => '[email protected]'],
214-
['title' => 'Another title', 'body' => 'Another body', 'email' => '[email protected]'],
215-
]);
213+
['title' => 'A title', 'body' => 'A body', 'email' => '[email protected]'],
214+
['title' => 'Another title', 'body' => 'Another body', 'email' => '[email protected]'],
215+
]);
216216
}
217217

218218
/**
@@ -221,11 +221,11 @@ protected function seedData()
221221
protected function seedDefaultData()
222222
{
223223
HasManyThroughDefaultTestCountry::create(['id' => 1, 'name' => 'United States of America'])
224-
->users()->create(['id' => 1, 'email' => '[email protected]'])
225-
->posts()->createMany([
226-
['title' => 'A title', 'body' => 'A body'],
227-
['title' => 'Another title', 'body' => 'Another body'],
228-
]);
224+
->users()->create(['id' => 1, 'email' => '[email protected]'])
225+
->posts()->createMany([
226+
['title' => 'A title', 'body' => 'A body'],
227+
['title' => 'Another title', 'body' => 'Another body'],
228+
]);
229229
}
230230

231231
/**

tests/Notifications/NotificationSlackChannelTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ public function toSlack($notifiable)
185185
->content('Attachment Content')
186186
->fallback('Attachment Fallback')
187187
->fields([
188-
'Project' => 'Laravel',
189-
])
188+
'Project' => 'Laravel',
189+
])
190190
->footer('Laravel')
191191
->footerIcon('https://laravel.com/fake.png')
192192
->markdown(['text'])
@@ -212,8 +212,8 @@ public function toSlack($notifiable)
212212
->content('Attachment Content')
213213
->fallback('Attachment Fallback')
214214
->fields([
215-
'Project' => 'Laravel',
216-
])
215+
'Project' => 'Laravel',
216+
])
217217
->footer('Laravel')
218218
->footerIcon('https://laravel.com/fake.png')
219219
->markdown(['text'])
@@ -232,8 +232,8 @@ public function toSlack($notifiable)
232232
$attachment->title('Laravel', 'https://laravel.com')
233233
->content('Attachment Content')
234234
->fields([
235-
'Project' => 'Laravel',
236-
]);
235+
'Project' => 'Laravel',
236+
]);
237237
});
238238
}
239239
}

0 commit comments

Comments
 (0)