Test Failed
Push — development ( b6b87c...54683c )
by Ashutosh
16:11 queued 03:22
created
app/Http/Controllers/Product/BaseProductController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
             } else {
158 158
                 return redirect('auth/login')->with('fails', \Lang::get('please-purcahse-a-product'));
159 159
             }
160
-        } catch (\Exception $ex)  {
160
+        } catch (\Exception $ex) {
161 161
             Bugsnag::notifyException($ex);
162 162
 
163 163
             return redirect('auth/login')->with('fails', $ex->getMessage());
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
             } else {
158 158
                 return redirect('auth/login')->with('fails', \Lang::get('please-purcahse-a-product'));
159 159
             }
160
-        } catch (\Exception $ex)  {
160
+        } catch (\Exception $ex) {
161 161
             Bugsnag::notifyException($ex);
162 162
 
163 163
             return redirect('auth/login')->with('fails', $ex->getMessage());
@@ -166,7 +166,8 @@  discard block
 block discarded – undo
166 166
 
167 167
     public function getRelease($owner, $repository, $order_id, $file)
168 168
     {
169
-        if ($owner && $repository) {//If the Product is downloaded from Github
169
+        if ($owner && $repository) {
170
+//If the Product is downloaded from Github
170 171
             $github_controller = new \App\Http\Controllers\Github\GithubController();
171 172
             $relese = $github_controller->listRepositories($owner, $repository, $order_id);
172 173
 
Please login to merge, or discard this patch.