Completed
Pull Request — master (#9)
by
unknown
05:39
created
src/HasTranslations.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     }
24 24
 
25 25
     /**
26
-     * @param $key
26
+     * @param string $key
27 27
      * @param $value
28 28
      * @return HasTranslations|void
29 29
      */
@@ -76,6 +76,9 @@  discard block
 block discarded – undo
76 76
         return $translation;
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $key
81
+     */
79 82
     public function getTranslations($key) : array
80 83
     {
81 84
         $this->guardAgainstUntranslatableAttribute($key);
Please login to merge, or discard this patch.