Completed
Pull Request — master (#40)
by
unknown
01:24
created
src/Understand/UnderstandLaravel5/UnderstandLaravel5ServiceProvider.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,8 +122,8 @@
 block discarded – undo
122 122
     /**
123 123
      * Detect Laravel version
124 124
      * 
125
-     * @param array $versions
126
-     * @return type
125
+     * @param string[] $versions
126
+     * @return boolean
127 127
      */
128 128
     protected function detectLaravelVersion(array $versions)
129 129
     {
Please login to merge, or discard this patch.
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -9,20 +9,20 @@  discard block
 block discarded – undo
9 9
 class UnderstandLaravel5ServiceProvider extends UnderstandServiceProvider
10 10
 {
11 11
 
12
-	/**
13
-	 * Indicates if loading of the provider is deferred.
14
-	 *
15
-	 * @var bool
16
-	 */
17
-	protected $defer = false;
12
+    /**
13
+     * Indicates if loading of the provider is deferred.
14
+     *
15
+     * @var bool
16
+     */
17
+    protected $defer = false;
18 18
 
19
-	/**
20
-	 * Bootstrap the application events.
21
-	 *
22
-	 * @return void
23
-	 */
24
-	public function boot()
25
-	{
19
+    /**
20
+     * Bootstrap the application events.
21
+     *
22
+     * @return void
23
+     */
24
+    public function boot()
25
+    {
26 26
         $configPath = __DIR__ . '/../../config/understand-laravel.php';
27 27
         $this->publishes([$configPath => config_path('understand-laravel.php')], 'config');
28 28
         $enabled = $this->app['config']->get('understand-laravel.enabled');
@@ -36,23 +36,23 @@  discard block
 block discarded – undo
36 36
         {
37 37
             $this->listenQueryEvents();
38 38
         }
39
-	}
39
+    }
40 40
 
41
-	/**
42
-	 * Register the service provider.
43
-	 *
44
-	 * @return void
45
-	 */
46
-	public function register()
47
-	{
48
-		$this->registerConfig();
41
+    /**
42
+     * Register the service provider.
43
+     *
44
+     * @return void
45
+     */
46
+    public function register()
47
+    {
48
+        $this->registerConfig();
49 49
         $this->registerFieldProvider();
50 50
         $this->registerDataCollector();
51 51
         $this->registerTokenProvider();
52 52
         $this->registerLogger();
53 53
         $this->registerExceptionEncoder();
54 54
         $this->registerEventLoggers();
55
-	}
55
+    }
56 56
 
57 57
     /**
58 58
      * Register field provider
Please login to merge, or discard this patch.
src/Understand/UnderstandLaravel5/UnderstandLumenServiceProvider.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,8 +129,8 @@
 block discarded – undo
129 129
     /**
130 130
      * Detect Lumen version
131 131
      *
132
-     * @param array $versions
133
-     * @return type
132
+     * @param string[] $versions
133
+     * @return boolean
134 134
      */
135 135
     protected function detectLumenVersion(array $versions)
136 136
     {
Please login to merge, or discard this patch.
src/Understand/UnderstandLaravel5/UnderstandServiceProvider.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @param $level
120
+     * @param string $level
121 121
      * @param $message
122 122
      * @param $context
123 123
      * @return bool
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Get the services provided by the provider.
138 138
      *
139
-     * @return array
139
+     * @return string[]
140 140
      */
141 141
     public function provides()
142 142
     {
Please login to merge, or discard this patch.