Completed
Push — master ( 489a99...99d7d3 )
by Ryan
07:23
created
src/Model/EloquentModel.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Fire a model event.
114 114
      *
115
-     * @param $event
115
+     * @param string $event
116 116
      * @return mixed
117 117
      */
118 118
     public function fireEvent($event)
@@ -353,6 +353,9 @@  discard block
 block discarded – undo
353 353
         return new $this->translationModel;
354 354
     }
355 355
 
356
+    /**
357
+     * @return string
358
+     */
356 359
     public function getTranslationModelName()
357 360
     {
358 361
         return $this->translationModel;
@@ -542,6 +545,9 @@  discard block
 block discarded – undo
542 545
         return parent::fill($attributes);
543 546
     }
544 547
 
548
+    /**
549
+     * @param string $key
550
+     */
545 551
     private function getTranslationByLocaleKey($key)
546 552
     {
547 553
         foreach ($this->translations as $translation) {
@@ -678,6 +684,9 @@  discard block
 block discarded – undo
678 684
         return false;
679 685
     }
680 686
 
687
+    /**
688
+     * @param string $key
689
+     */
681 690
     public function __get($key)
682 691
     {
683 692
         if ($this->hasHook($key)) {
Please login to merge, or discard this patch.