Skip to content

Commit 6bedcd5

Browse files
author
Lupacescu Eduard
authored
Apply fixes from StyleCI (#70)
1 parent 08ea2c2 commit 6bedcd5

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

src/Http/Controllers/RepositoryUpdateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function handle(RepositoryUpdateRequest $request)
3333
$model = $request->findModelQuery()->lockForUpdate()->firstOrFail();
3434

3535
/**
36-
* @var Repository $repository
36+
* @var Repository
3737
*/
3838
$repository = $request->newRepositoryWith($model);
3939
$repository->authorizeToUpdate($request);

src/Repositories/Crudable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Binaryk\LaravelRestify\Services\Search\SearchService;
77

88
/**
9-
* @package Binaryk\LaravelRestify\Repositories;
109
* @author Eduard Lupacescu <eduard.lupacescu@binarcode.com>
1110
*/
1211
trait Crudable

src/RestifyServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
/**
99
* This provider is injected in console context by the main provider or by the RestifyInjector
10-
* if a restify request
11-
*
12-
* @package Binaryk\LaravelRestify
10+
* if a restify request.
1311
*/
1412
class RestifyServiceProvider extends ServiceProvider
1513
{

tests/Controllers/RepositoryIndexControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function test_that_with_param_works()
216216

217217
$this->assertSameSize((array) data_get($r, 'data.0.relationships.posts'), $posts->toArray());
218218
$this->assertSame(array_keys((array) data_get($r, 'data.0.relationships.posts.0')), [
219-
'id', 'type', 'attributes', 'meta'
219+
'id', 'type', 'attributes', 'meta',
220220
]);
221221
}
222222
}

0 commit comments

Comments
 (0)