Completed
Branch master (566741)
by Ahmed
03:49
created
src/Events/TranslationHasBeenSet.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -18,6 +18,10 @@
 block discarded – undo
18 18
     public $oldValue;
19 19
     public $newValue;
20 20
 
21
+    /**
22
+     * @param string $key
23
+     * @param string $locale
24
+     */
21 25
     public function __construct(Model $model, $key, $locale, $oldValue, $newValue)
22 26
     {
23 27
         $this->model = $model;
Please login to merge, or discard this patch.
src/HasTranslations.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -141,6 +141,10 @@
 block discarded – undo
141 141
         }
142 142
     }
143 143
 
144
+    /**
145
+     * @param string $key
146
+     * @param string $locale
147
+     */
144 148
     protected function normalizeLocale($key, $locale)
145 149
     {
146 150
         if (in_array($locale, $this->getTranslatedLocales($key))) {
Please login to merge, or discard this patch.