Completed
Pull Request — master (#11)
by
unknown
02:41
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
 	 *
29 29
 	 * @return $this
@@ -78,6 +78,9 @@  discard block
 block discarded – undo
78 78
         return $translation;
79 79
     }
80 80
 
81
+    /**
82
+     * @param string $key
83
+     */
81 84
     public function getTranslations($key) : array
82 85
     {
83 86
         $this->guardAgainstUntranslatableAttribute($key);
Please login to merge, or discard this patch.