Apply Laravel coding style

Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions.

You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root.

For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
This commit is contained in:
Shift
2023-01-06 11:53:02 +00:00
parent af15afd97d
commit 21910f2106
235 changed files with 14381 additions and 14773 deletions

View File

@@ -34,7 +34,7 @@ class ApiExceptAuthController extends Controller
}
$url = $this->request->input('url');
if (!str_is('*/', $url)) {
if (! str_is('*/', $url)) {
$url = str_finish($url, '/');
}
@@ -71,8 +71,7 @@ class ApiExceptAuthController extends Controller
/**
* Call curl function for Get Method.
*
* @param type $url
*
* @param type $url
* @return type int|string|json
*/
public function callGetApi($url)
@@ -95,9 +94,8 @@ class ApiExceptAuthController extends Controller
/**
* Call curl function for POST Method.
*
* @param type $url
* @param type $data
*
* @param type $url
* @param type $data
* @return type int|string|json
*/
public function callPostApi($url, $data)