@@ -214,12 +214,16 @@ |
||
| 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; |
@@ -53,7 +53,7 @@ |
||
| 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 | { |
@@ -77,6 +77,9 @@ |
||
| 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 |
@@ -84,7 +84,7 @@ |
||
| 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(Request $request, $id) |
| 90 | 90 | { |