Completed
Push — master ( 033792...9fc33c )
by Innocent
01:20
created
src/Models/News.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * The name of the directory in storage that has files for this model.
32
-     * @return mixed
32
+     * @return string
33 33
      */
34 34
     public function filesDir()
35 35
     {
Please login to merge, or discard this patch.
src/Policies/NewsPolicy.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @param Ministry $user
30 30
      * @param News $news
31
-     * @return mixed
31
+     * @return boolean
32 32
      */
33 33
     public function view(Ministry $user, News $news)
34 34
     {
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * Determine whether the user can create news.
40 40
      *
41 41
      * @param Ministry $user
42
-     * @return mixed
42
+     * @return boolean
43 43
      */
44 44
     public function create(Ministry $user)
45 45
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @param \App\Models\Ministry $user
62 62
      * @param News $news
63
-     * @return mixed
63
+     * @return boolean
64 64
      */
65 65
     public function update(Ministry $user, News $news)
66 66
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @param \App\Models\Ministry $user
74 74
      * @param News $news
75
-     * @return mixed
75
+     * @return boolean
76 76
      */
77 77
     public static function delete(Ministry $user, News $news)
78 78
     {
Please login to merge, or discard this patch.
src/Services/NewsService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * This sets the attributes to be removed from the given set for updating or creating.
36
-     * @return mixed
36
+     * @return string[]
37 37
      */
38 38
     public function getUnsetFields()
39 39
     {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * This get the model value or class of the model in the service.
45
-     * @return mixed
45
+     * @return News
46 46
      */
47 47
     public function getModel()
48 48
     {
Please login to merge, or discard this patch.