jqh 4 years ago
parent
commit
31f1c540e8
1 changed files with 3 additions and 1 deletions
  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;
     }
 
     /**