Completed
Push — master ( a91b57...4fcfbd )
by Jan
06:59
created
app/Http/Controllers/Admin/UserController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      * Store function override
36 36
      *
37 37
      * @param  Request  $request
38
-     * @return Response
38
+     * @return \Illuminate\Http\RedirectResponse
39 39
      */
40 40
     public function store(Request $request)
41 41
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @param  Request  $request
66 66
      * @param  integer  $id
67
-     * @return Response
67
+     * @return \Illuminate\Http\RedirectResponse
68 68
      */
69 69
     public function update(Request $request, $id)
70 70
     {
Please login to merge, or discard this patch.
app/Http/Helpers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      *
103 103
      * @param string $module
104 104
      * @param array $possibleParameters
105
-     * @return boolean
105
+     * @return false|string
106 106
      */
107 107
     public static function resetSaveIndexParameters($module, $possibleParameters = ['search', 'orderbycolumn', 'orderbytype', 'relation'])
108 108
     {
Please login to merge, or discard this patch.
app/Image.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * Image category link
100 100
      * 
101
-     * @return object
101
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
102 102
      */
103 103
     public function imagecategories(){
104 104
         
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * Slide link
110 110
      * 
111
-     * @return object
111
+     * @return \Illuminate\Database\Eloquent\Relations\HasMany
112 112
      */
113 113
     public function slides(){
114 114
         
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     /**
119 119
      * Article category
120 120
      * 
121
-     * @return object
121
+     * @return \Illuminate\Database\Eloquent\Relations\HasMany
122 122
      */
123 123
     public function articlecategories(){
124 124
         
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * Article category
130 130
      * 
131
-     * @return object
131
+     * @return \Illuminate\Database\Eloquent\Relations\HasMany
132 132
      */
133 133
     public function pages(){
134 134
         
Please login to merge, or discard this patch.
app/ImageCategory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * Image link
82 82
      * 
83
-     * @return object
83
+     * @return \Illuminate\Database\Eloquent\Relations\HasMany
84 84
      */
85 85
     public function images(){
86 86
         
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/ImageSelectController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,8 +113,7 @@
 block discarded – undo
113 113
         if ($validator->fails()) {
114 114
 
115 115
             $object->imagecategories()->associate(1);
116
-        }
117
-        else{
116
+        } else{
118 117
 
119 118
             $object->imagecategories()->associate($request->input('imagecategory_id'));
120 119
 
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/CommentController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,7 @@
 block discarded – undo
86 86
                 $object->commentstatuses()->associate(1);
87 87
             }
88 88
             
89
-        }
90
-        else{
89
+        } else{
91 90
 
92 91
             $object->commentstatuses()->associate($request->input('commentstatus_id'));
93 92
         }
Please login to merge, or discard this patch.
app/Http/Middleware/AddPublishedAt.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,7 @@
 block discarded – undo
31 31
         if($request->has('published')){
32 32
             
33 33
             $request->merge(['published_at' => \Carbon\Carbon::now()]);
34
-        }
35
-        else{
34
+        } else{
36 35
 
37 36
             $request->merge(['published_at' => NULL]);
38 37
         }
Please login to merge, or discard this patch.
app/AdminModelTrait.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         if(isset($this->excludedFromFind) == TRUE && is_array($this->excludedFromFind) == TRUE){
74 74
             return $query->select( array_diff(Schema::getColumnListing($this->table), $this->excludedFromFind) );
75
-        }
76
-        else{
75
+        } else{
77 76
             return $query;
78 77
         }
79 78
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/DashboardController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,8 +126,7 @@
 block discarded – undo
126 126
         {
127 127
             return round((($thisValue / ($lastValue / 100)) - 100), $round);
128 128
 
129
-        }
130
-        else {
129
+        } else {
131 130
 
132 131
             return 0;
133 132
         }
Please login to merge, or discard this patch.