for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Lang;
use App\Http\Controllers\Controller;
class HomepageController extends Controller {
/**
* Show the home page
* @return \Illuminate\Http\Response
*/
public function __invoke() {
return view('applicant/home', [
return view('applicant/h...g::get('common/hero')))
Illuminate\View\View
Illuminate\Http\Response
'home' => Lang::get('applicant/home'),
'hero' => Lang::get('common/hero')
]);
If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line:
someFunctionCall( $firstArgument, $secondArgument, $thirdArgument ); // Closing parenthesis on a new line.
}