Update phpdocs for better chaining
Following the PSR-5 Proposal, chained methods should use `return $this`. New instances should use `return static`. This way, when classes are extended, they refer to the correct class.
This commit is contained in:
1 parent
a597050437
commit
a632d0e3f8
1 file changed
+1
-1
+1
-1
@@ -960,7 +960,7 @@ class FormBuilder {
|
|||||||
* Set the session store implementation.
|
* Set the session store implementation.
|
||||||
*
|
*
|
||||||
* @param \Illuminate\Session\Store $session
|
* @param \Illuminate\Session\Store $session
|
||||||
* @return \Illuminate\Html\FormBuilder
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function setSessionStore(Session $session)
|
public function setSessionStore(Session $session)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user