jqh пре 4 година
родитељ
комит
16ccc71171
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/Actions/Action.php

+ 3 - 1
src/Actions/Action.php

@@ -115,11 +115,13 @@ abstract class Action implements Renderable
      *
      * @param mixed $key
      *
-     * @return void
+     * @return $this
      */
     public function setKey($key)
     {
         $this->primaryKey = $key;
+
+        return $this;
     }
 
     /**