Completed
Branch master (73431b)
by Ricardo
05:17
created
src/AuditProvider.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -214,12 +214,16 @@
 block discarded – undo
214 214
 
215 215
     /**
216 216
      * Configs Paths
217
+     * @param string $folder
217 218
      */
218 219
     private function getResourcesPath($folder)
219 220
     {
220 221
         return __DIR__.'/../resources/'.$folder;
221 222
     }
222 223
 
224
+    /**
225
+     * @param string $folder
226
+     */
223 227
     private function getPublishesPath($folder)
224 228
     {
225 229
         return __DIR__.'/../publishes/'.$folder;
Please login to merge, or discard this patch.
src/Http/Controllers/Base.php 1 patch
Doc Comments   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
     /**
298 298
      * Get the with_trashed settings for a controller
299 299
      *
300
-     * @return array
300
+     * @return boolean
301 301
      */
302 302
     public function withTrashed()
303 303
     {
@@ -700,7 +700,7 @@  discard block
 block discarded – undo
700 700
     /**
701 701
      * List as JSON for autocomplete widgets
702 702
      *
703
-     * @return Illuminate\Http\Response JSON
703
+     * @return \Illuminate\Http\JsonResponse JSON
704 704
      */
705 705
     public function autocomplete()
706 706
     {
@@ -783,7 +783,7 @@  discard block
 block discarded – undo
783 783
      * autocomplete widget
784 784
      *
785 785
      * @param  int $id The id of the parent model
786
-     * @return Illuminate\Http\Response JSON
786
+     * @return \Illuminate\Http\JsonResponse JSON
787 787
      */
788 788
     public function attach($id)
789 789
     {
@@ -1061,9 +1061,6 @@  discard block
 block discarded – undo
1061 1061
     /**
1062 1062
      * Creates a success message for CRUD commands
1063 1063
      *
1064
-     * @param  Audit\Model\Base|string $title The model instance that is
1065
-     *                                        being worked on  or a string
1066
-     *                                        containing the title
1067 1064
      * @param  string                  $verb  Default: 'saved'. Past tense CRUD verb (created, saved, etc)
1068 1065
      * @return string                        The CRUD success message string
1069 1066
      */
Please login to merge, or discard this patch.
src/Http/Controllers/Changes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      * this method / action so that a new routing rule doesn't need to be created
85 85
      *
86 86
      * @param  int $id Model key
87
-     * @return Illuminate\Http\Response
87
+     * @return \Illuminate\Http\JsonResponse
88 88
      */
89 89
     public function edit($id)
90 90
     {
Please login to merge, or discard this patch.
src/Models/Change.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * Get the admin associated with the change
55 55
      *
56
-     * @return Illuminate\Database\Eloquent\Relations\Relation
56
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
57 57
      */
58 58
     public function admin()
59 59
     {
Please login to merge, or discard this patch.
src/Observers/Changes.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@
 block discarded – undo
77 77
         return app('facilitador.user');
78 78
     }
79 79
 
80
+    /**
81
+     * @param string $event
82
+     */
80 83
     protected function isToIgnore($model, $event)
81 84
     {
82 85
         // Don't log changes to pivot models.  Even though a user may have initiated
Please login to merge, or discard this patch.