@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * If the entity is supposed to create a |
| 18 | 18 | * table in the Database, it will do |
| 19 | 19 | * It won't do anything otherwise |
| 20 | - * @param Events $event |
|
| 20 | + * @param EntityWasCreated $event |
|
| 21 | 21 | * @return void |
| 22 | 22 | */ |
| 23 | 23 | public function handle(EntityWasCreated $event) |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * CreateEntryCommand constructor. |
| 25 | 25 | * @param $entity |
| 26 | - * @param array $data |
|
| 27 | 26 | */ |
| 28 | 27 | public function __construct($entity, array $input) |
| 29 | 28 | { |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * CreateEntryCommand constructor. |
| 30 | 30 | * @param $entity |
| 31 | - * @param array $data |
|
| 32 | 31 | */ |
| 33 | 32 | public function __construct($entity, $entry_id, array $input) |
| 34 | 33 | { |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | /** |
| 11 | 11 | * Once the field has been edited in the DB Record |
| 12 | 12 | * The column in the entity table will be edited. |
| 13 | - * @param FieldWasCreated $event |
|
| 13 | + * @param FieldWasEdited $event |
|
| 14 | 14 | */ |
| 15 | 15 | public function handle(FieldWasEdited $event) |
| 16 | 16 | { |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | /** |
| 122 | - * @return mixed |
|
| 122 | + * @return string |
|
| 123 | 123 | */ |
| 124 | 124 | public function presentFront() |
| 125 | 125 | { |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | /** |
| 122 | - * @return mixed |
|
| 122 | + * @return string |
|
| 123 | 123 | */ |
| 124 | 124 | public function presentFront() |
| 125 | 125 | { |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * @param Requests\FlowRequest $request |
| 22 | - * @return mixed |
|
| 22 | + * @return \Illuminate\Http\JsonResponse |
|
| 23 | 23 | */ |
| 24 | 24 | public function store(Requests\FlowRequest $request) |
| 25 | 25 | { |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * @param Requests\FlowRequest $request |
| 33 | 33 | * @param $id |
| 34 | - * @return mixed |
|
| 34 | + * @return \Illuminate\Http\JsonResponse |
|
| 35 | 35 | */ |
| 36 | 36 | public function update(Requests\FlowRequest $request, $id) |
| 37 | 37 | { |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * @param $id |
| 45 | - * @return mixed |
|
| 45 | + * @return \Illuminate\Http\JsonResponse |
|
| 46 | 46 | */ |
| 47 | 47 | public function destroy($id) |
| 48 | 48 | { |