@@ -4,9 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use FaithGen\SDK\Helpers\Helper; |
6 | 6 | use FaithGen\SDK\Models\Ministry; |
7 | -use Illuminate\Foundation\Http\FormRequest; |
|
8 | -use Illuminate\Auth\Access\AuthorizationException; |
|
9 | 7 | use Faithgen\Testimonies\Services\TestimoniesService; |
8 | +use Illuminate\Auth\Access\AuthorizationException; |
|
9 | +use Illuminate\Foundation\Http\FormRequest; |
|
10 | 10 | |
11 | 11 | class CommentRequest extends FormRequest |
12 | 12 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Faithgen\Testimonies\Jobs; |
4 | 4 | |
5 | -use Illuminate\Bus\Queueable; |
|
6 | -use Illuminate\Queue\SerializesModels; |
|
7 | -use Illuminate\Queue\InteractsWithQueue; |
|
8 | 5 | use Faithgen\Testimonies\Models\Testimony; |
6 | +use Illuminate\Bus\Queueable; |
|
9 | 7 | use Illuminate\Contracts\Queue\ShouldQueue; |
10 | 8 | use Illuminate\Foundation\Bus\Dispatchable; |
9 | +use Illuminate\Queue\InteractsWithQueue; |
|
10 | +use Illuminate\Queue\SerializesModels; |
|
11 | 11 | use Intervention\Image\ImageManager; |
12 | 12 | |
13 | 13 | final class ProcessImages implements ShouldQueue |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * |
26 | 26 | * @param \App\Models\Ministry $ministry |
27 | 27 | * @param \App\Testimony $testimony |
28 | - * @return mixed |
|
28 | + * @return boolean |
|
29 | 29 | */ |
30 | 30 | public function view(Ministry $ministry, Testimony $testimony) |
31 | 31 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @param \App\Models\Ministry $ministry |
50 | 50 | * @param \App\Testimony $testimony |
51 | - * @return mixed |
|
51 | + * @return boolean |
|
52 | 52 | */ |
53 | 53 | public function update(Ministry $ministry, Testimony $testimony) |
54 | 54 | { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * |
66 | 66 | * @param \App\Models\Ministry $ministry |
67 | 67 | * @param \App\Testimony $testimony |
68 | - * @return mixed |
|
68 | + * @return boolean |
|
69 | 69 | */ |
70 | 70 | public function delete(Ministry $ministry, Testimony $testimony) |
71 | 71 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Faithgen\Testimonies\Models\Testimony; |
6 | 6 | use InnoFlash\LaraStart\Services\CRUDServices; |
7 | -use Illuminate\Database\Eloquent\Model as ParentModel; |
|
8 | 7 | |
9 | 8 | final class TestimoniesService extends CRUDServices |
10 | 9 | { |