@@ -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) |
@@ -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 | { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Handle the creation of the Field in the Database |
| 17 | 17 | * @param $command |
| 18 | - * @return static |
|
| 18 | + * @return FieldModel |
|
| 19 | 19 | */ |
| 20 | 20 | public function handle($command) |
| 21 | 21 | { |
@@ -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 | { |
@@ -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 | { |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | /** |
| 120 | - * @return mixed |
|
| 120 | + * @return string |
|
| 121 | 121 | */ |
| 122 | 122 | public function presentFront() |
| 123 | 123 | { |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | /** |
| 120 | - * @return mixed |
|
| 120 | + * @return string |
|
| 121 | 121 | */ |
| 122 | 122 | public function presentFront() |
| 123 | 123 | { |