Passed
Push — develop ( 72cbea...47a228 )
by Paul
02:45
created
src/Facades/Template.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 
7 7
 class Template extends Facade
8 8
 {
9
-    /**
10
-     * Get the fully qualified class name of the component.
11
-     *
12
-     * @return string
13
-     */
14
-    protected static function getFacadeAccessor()
15
-    {
16
-        return \GeminiLabs\Castor\Helpers\Template::class;
17
-    }
9
+	/**
10
+	 * Get the fully qualified class name of the component.
11
+	 *
12
+	 * @return string
13
+	 */
14
+	protected static function getFacadeAccessor()
15
+	{
16
+		return \GeminiLabs\Castor\Helpers\Template::class;
17
+	}
18 18
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use GeminiLabs\Castor\Facade;
6 6
 
7
-class Template extends Facade
8
-{
7
+class Template extends Facade {
9 8
     /**
10 9
      * Get the fully qualified class name of the component.
11 10
      *
Please login to merge, or discard this patch.
src/Facades/Utility.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 
7 7
 class Utility extends Facade
8 8
 {
9
-    /**
10
-     * Get the fully qualified class name of the component.
11
-     *
12
-     * @return string
13
-     */
14
-    protected static function getFacadeAccessor()
15
-    {
16
-        return \GeminiLabs\Castor\Helpers\Utility::class;
17
-    }
9
+	/**
10
+	 * Get the fully qualified class name of the component.
11
+	 *
12
+	 * @return string
13
+	 */
14
+	protected static function getFacadeAccessor()
15
+	{
16
+		return \GeminiLabs\Castor\Helpers\Utility::class;
17
+	}
18 18
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use GeminiLabs\Castor\Facade;
6 6
 
7
-class Utility extends Facade
8
-{
7
+class Utility extends Facade {
9 8
     /**
10 9
      * Get the fully qualified class name of the component.
11 10
      *
Please login to merge, or discard this patch.
src/Facades/Theme.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 
7 7
 class Theme extends Facade
8 8
 {
9
-    /**
10
-     * Get the fully qualified class name of the component.
11
-     *
12
-     * @return string
13
-     */
14
-    protected static function getFacadeAccessor()
15
-    {
16
-        return \GeminiLabs\Castor\Helpers\Theme::class;
17
-    }
9
+	/**
10
+	 * Get the fully qualified class name of the component.
11
+	 *
12
+	 * @return string
13
+	 */
14
+	protected static function getFacadeAccessor()
15
+	{
16
+		return \GeminiLabs\Castor\Helpers\Theme::class;
17
+	}
18 18
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use GeminiLabs\Castor\Facade;
6 6
 
7
-class Theme extends Facade
8
-{
7
+class Theme extends Facade {
9 8
     /**
10 9
      * Get the fully qualified class name of the component.
11 10
      *
Please login to merge, or discard this patch.
src/Facades/Development.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 
7 7
 class Development extends Facade
8 8
 {
9
-    /**
10
-     * Get the fully qualified class name of the component.
11
-     *
12
-     * @return string
13
-     */
14
-    protected static function getFacadeAccessor()
15
-    {
16
-        return \GeminiLabs\Castor\Helpers\Development::class;
17
-    }
9
+	/**
10
+	 * Get the fully qualified class name of the component.
11
+	 *
12
+	 * @return string
13
+	 */
14
+	protected static function getFacadeAccessor()
15
+	{
16
+		return \GeminiLabs\Castor\Helpers\Development::class;
17
+	}
18 18
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use GeminiLabs\Castor\Facade;
6 6
 
7
-class Development extends Facade
8
-{
7
+class Development extends Facade {
9 8
     /**
10 9
      * Get the fully qualified class name of the component.
11 10
      *
Please login to merge, or discard this patch.
src/Facades/PostMeta.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 
7 7
 class PostMeta extends Facade
8 8
 {
9
-    /**
10
-     * Get the fully qualified class name of the component.
11
-     *
12
-     * @return string
13
-     */
14
-    protected static function getFacadeAccessor()
15
-    {
16
-        return \GeminiLabs\Castor\Helpers\PostMeta::class;
17
-    }
9
+	/**
10
+	 * Get the fully qualified class name of the component.
11
+	 *
12
+	 * @return string
13
+	 */
14
+	protected static function getFacadeAccessor()
15
+	{
16
+		return \GeminiLabs\Castor\Helpers\PostMeta::class;
17
+	}
18 18
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use GeminiLabs\Castor\Facade;
6 6
 
7
-class PostMeta extends Facade
8
-{
7
+class PostMeta extends Facade {
9 8
     /**
10 9
      * Get the fully qualified class name of the component.
11 10
      *
Please login to merge, or discard this patch.
src/Facades/Media.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 
7 7
 class Media extends Facade
8 8
 {
9
-    /**
10
-     * Get the fully qualified class name of the component.
11
-     *
12
-     * @return string
13
-     */
14
-    protected static function getFacadeAccessor()
15
-    {
16
-        return \GeminiLabs\Castor\Helpers\Media::class;
17
-    }
9
+	/**
10
+	 * Get the fully qualified class name of the component.
11
+	 *
12
+	 * @return string
13
+	 */
14
+	protected static function getFacadeAccessor()
15
+	{
16
+		return \GeminiLabs\Castor\Helpers\Media::class;
17
+	}
18 18
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use GeminiLabs\Castor\Facade;
6 6
 
7
-class Media extends Facade
8
-{
7
+class Media extends Facade {
9 8
     /**
10 9
      * Get the fully qualified class name of the component.
11 10
      *
Please login to merge, or discard this patch.
src/Facades/Render.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 
7 7
 class Render extends Facade
8 8
 {
9
-    /**
10
-     * Get the fully qualified class name of the component.
11
-     *
12
-     * @return string
13
-     */
14
-    protected static function getFacadeAccessor()
15
-    {
16
-        return \GeminiLabs\Castor\Helpers\Render::class;
17
-    }
9
+	/**
10
+	 * Get the fully qualified class name of the component.
11
+	 *
12
+	 * @return string
13
+	 */
14
+	protected static function getFacadeAccessor()
15
+	{
16
+		return \GeminiLabs\Castor\Helpers\Render::class;
17
+	}
18 18
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use GeminiLabs\Castor\Facade;
6 6
 
7
-class Render extends Facade
8
-{
7
+class Render extends Facade {
9 8
     /**
10 9
      * Get the fully qualified class name of the component.
11 10
      *
Please login to merge, or discard this patch.
src/Container.php 3 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -18,18 +18,18 @@
 block discarded – undo
18 18
 	 */
19 19
 	protected static $instance;
20 20
 
21
-    /**
22
-     * The container's bound services.
23
-     *
24
-     * @var array
25
-     */
21
+	/**
22
+	 * The container's bound services.
23
+	 *
24
+	 * @var array
25
+	 */
26 26
 	protected $services = [];
27 27
 
28
-    /**
29
-     * The container's bucket items
30
-     *
31
-     * @var array
32
-     */
28
+	/**
29
+	 * The container's bucket items
30
+	 *
31
+	 * @var array
32
+	 */
33 33
 	protected $bucket = [];
34 34
 
35 35
 	/**
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 	 */
40 40
 	public static function getInstance()
41 41
 	{
42
-		if( is_null( static::$instance )) {
42
+		if( is_null( static::$instance ) ) {
43 43
 			static::$instance = new static;
44 44
 		}
45 45
 
@@ -74,10 +74,10 @@  discard block
 block discarded – undo
74 74
 			? $this->services[$abstract]
75 75
 			: $this->addNamespace( $abstract );
76 76
 
77
-		if( is_callable( $service )) {
77
+		if( is_callable( $service ) ) {
78 78
 			return call_user_func_array( $service, [$this] );
79 79
 		}
80
-		if( is_object( $service )) {
80
+		if( is_object( $service ) ) {
81 81
 			return $service;
82 82
 		}
83 83
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 	 */
95 95
 	public function singleton( $abstract, $concrete )
96 96
 	{
97
-		$this->bind( $abstract, $this->make( $concrete ));
97
+		$this->bind( $abstract, $this->make( $concrete ) );
98 98
 	}
99 99
 
100 100
 	/**
@@ -133,8 +133,8 @@  discard block
 block discarded – undo
133 133
 	 */
134 134
 	protected function addNamespace( $abstract )
135 135
 	{
136
-		if( strpos( $abstract, __NAMESPACE__ ) === false && !class_exists( $abstract )) {
137
-			$abstract = __NAMESPACE__ . "\\$abstract";
136
+		if( strpos( $abstract, __NAMESPACE__ ) === false && !class_exists( $abstract ) ) {
137
+			$abstract = __NAMESPACE__."\\$abstract";
138 138
 		}
139 139
 
140 140
 		return $abstract;
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
 			return $this->notInstantiable( $concrete );
176 176
 		}
177 177
 
178
-		if( is_null(( $constructor = $reflector->getConstructor() ))) {
178
+		if( is_null( ( $constructor = $reflector->getConstructor() ) ) ) {
179 179
 			return new $concrete;
180 180
 		}
181 181
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@
 block discarded – undo
9 9
 use ReflectionParameter;
10 10
 use RuntimeException;
11 11
 
12
-abstract class Container
13
-{
12
+abstract class Container {
14 13
 	/**
15 14
 	 * The current globally available container (if any).
16 15
 	 *
Please login to merge, or discard this patch.
src/Facades/SiteMeta.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 
7 7
 class SiteMeta extends Facade
8 8
 {
9
-    /**
10
-     * Get the fully qualified class name of the component.
11
-     *
12
-     * @return string
13
-     */
14
-    protected static function getFacadeAccessor()
15
-    {
16
-        return \GeminiLabs\Castor\Helpers\SiteMeta::class;
17
-    }
9
+	/**
10
+	 * Get the fully qualified class name of the component.
11
+	 *
12
+	 * @return string
13
+	 */
14
+	protected static function getFacadeAccessor()
15
+	{
16
+		return \GeminiLabs\Castor\Helpers\SiteMeta::class;
17
+	}
18 18
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use GeminiLabs\Castor\Facade;
6 6
 
7
-class SiteMeta extends Facade
8
-{
7
+class SiteMeta extends Facade {
9 8
     /**
10 9
      * Get the fully qualified class name of the component.
11 10
      *
Please login to merge, or discard this patch.