Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Here is the psr https://github.com/php-fig/fig-standards/blob/mast...
Item 4.4
A method declaration looks like the following. Note the placement of parentheses, commas, spaces , and braces:
<?php
namespace Vendor\Package;
class ClassName
{
public function fooBarBaz($arg1, &$arg2, $arg3 = [])
{
// method body
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question