Completed
Push — fix/56 ( b255ea...a550dc )
by Tyler
19:24
created
src/Components/Notifier.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         if (is_callable($cb)) {
42 42
             return $cb;
43 43
         } else {
44
-            return function () use ($cb) { return $cb; };
44
+            return function() use ($cb) { return $cb; };
45 45
         }
46 46
     }
47 47
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
     /**
195 195
      * Set the log level
196 196
      * @param string $level The log level
197
-     * @return \Tylercd100\LERN\LERN
197
+     * @return Notifier
198 198
      */
199 199
     public function setLogLevel($level)
200 200
     {
Please login to merge, or discard this patch.
Unused Use Statements   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -2,17 +2,17 @@
 block discarded – undo
2 2
 
3 3
 namespace Tylercd100\LERN\Components;
4 4
 
5
-use Auth;
6
-use Exception;
7
-use Illuminate\Support\Facades\Input;
8
-use Illuminate\Support\Facades\Cache;
9
-use Monolog\Handler\HandlerInterface;
10
-use Monolog\Logger;
11
-use Request;
12
-use Tylercd100\LERN\Exceptions\NotifierFailedException;
13
-use Tylercd100\Notify\Drivers\FromConfig as Notify;
5
+use Auth;
6
+use Carbon\Carbon;
7
+use Exception;
8
+use Illuminate\Support\Facades\Cache;
9
+use Illuminate\Support\Facades\Input;
10
+use Monolog\Handler\HandlerInterface;
11
+use Monolog\Logger;
12
+use Request;
13
+use Tylercd100\LERN\Exceptions\NotifierFailedException;
14
+use Tylercd100\Notify\Drivers\FromConfig as Notify;
14 15
 use View;
15
-use Carbon\Carbon;
16 16
 
17 17
 class Notifier extends Component
18 18
 {
Please login to merge, or discard this patch.
src/LERNServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
         $this->handleDeprecatedConfigValues();
14 14
 
15
-        $this->app->singleton('lern', function () {
15
+        $this->app->singleton('lern', function() {
16 16
             return new LERN;
17 17
         });
18 18
     }
Please login to merge, or discard this patch.
src/LERN.php 1 patch
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Tylercd100\LERN;
4 4
 
5
-use Exception;
6
-use Monolog\Handler\HandlerInterface;
7
-use Tylercd100\LERN\Components\Notifier;
8
-use Tylercd100\LERN\Components\Recorder;
9
-use Tylercd100\LERN\Exceptions\NotifierFailedException;
5
+use Exception;
6
+use Monolog\Handler\HandlerInterface;
7
+use Tylercd100\LERN\Components\Notifier;
8
+use Tylercd100\LERN\Components\Recorder;
9
+use Tylercd100\LERN\Exceptions\NotifierFailedException;
10 10
 use Tylercd100\LERN\Exceptions\RecorderFailedException;
11 11
 
12 12
 /**
Please login to merge, or discard this patch.
src/Components/Recorder.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
             $class = !empty($class) ? $class : ExceptionModel::class;
62 62
 
63 63
             $model = new $class();
64
-            foreach($opts as $key => $value) {
64
+            foreach ($opts as $key => $value) {
65 65
                 $model->{$key} = $value;
66 66
             }
67 67
 
Please login to merge, or discard this patch.
Unused Use Statements   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,15 +2,15 @@
 block discarded – undo
2 2
 
3 3
 namespace Tylercd100\LERN\Components;
4 4
 
5
-use Exception;
6
-use Illuminate\Support\Facades\Auth;
7
-use Illuminate\Support\Facades\Input;
8
-use Illuminate\Support\Facades\Request;
9
-use Illuminate\Support\Facades\Cache;
10
-use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
11
-use Tylercd100\LERN\Exceptions\RecorderFailedException;
5
+use Carbon\Carbon;
6
+use Exception;
7
+use Illuminate\Support\Facades\Auth;
8
+use Illuminate\Support\Facades\Cache;
9
+use Illuminate\Support\Facades\Input;
10
+use Illuminate\Support\Facades\Request;
11
+use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
12
+use Tylercd100\LERN\Exceptions\RecorderFailedException;
12 13
 use Tylercd100\LERN\Models\ExceptionModel;
13
-use Carbon\Carbon;
14 14
 
15 15
 class Recorder extends Component {
16 16
 
Please login to merge, or discard this patch.