Completed
Push — master ( deafcd...dd414d )
by Ryan
07:31
created
src/Model/EloquentModel.php 1 patch
Doc Comments   +7 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)
@@ -564,6 +564,9 @@  discard block
 block discarded – undo
564 564
         return parent::fill($attributes);
565 565
     }
566 566
 
567
+    /**
568
+     * @param string $key
569
+     */
567 570
     private function getTranslationByLocaleKey($key)
568 571
     {
569 572
         foreach ($this->translations as $translation) {
@@ -700,6 +703,9 @@  discard block
 block discarded – undo
700 703
         return false;
701 704
     }
702 705
 
706
+    /**
707
+     * @param string $key
708
+     */
703 709
     public function __get($key)
704 710
     {
705 711
         if ($this->hasHook($key)) {
Please login to merge, or discard this patch.