Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot authored and jiannei committed Dec 28, 2022
1 parent 53f8964 commit a5ebda9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
11 changes: 10 additions & 1 deletion src/Support/Facades/Format.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the jiannei/laravel-response.
*
* (c) Jiannei <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Jiannei\Response\Laravel\Support\Facades;

use Illuminate\Support\Facades\Facade as IlluminateFacade;
Expand All @@ -19,4 +28,4 @@ protected static function getFacadeAccessor()
{
return \Jiannei\Response\Laravel\Support\Format::class;
}
}
}
12 changes: 10 additions & 2 deletions src/Support/Format.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the jiannei/laravel-response.
*
* (c) Jiannei <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Jiannei\Response\Laravel\Support;

use Illuminate\Http\Resources\Json\JsonResource;
Expand Down Expand Up @@ -47,7 +56,6 @@ public function statusCode($code): int
return (int) substr($code, 0, 3);
}


/**
* Format paginator data.
*
Expand Down Expand Up @@ -189,4 +197,4 @@ protected function formatDataFields(array $responseData, array $dataFieldsConfig

return $responseData;
}
}
}

0 comments on commit a5ebda9

Please sign in to comment.