From a632d0e3f85363cb43f383f12d1c1334d238c134 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Fri, 1 Aug 2014 14:29:44 +0200 Subject: [PATCH] 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. --- FormBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FormBuilder.php b/FormBuilder.php index 6e5650e..0f03c45 100755 --- a/FormBuilder.php +++ b/FormBuilder.php @@ -960,7 +960,7 @@ class FormBuilder { * Set the session store implementation. * * @param \Illuminate\Session\Store $session - * @return \Illuminate\Html\FormBuilder + * @return $this */ public function setSessionStore(Session $session) {