Completed
Push — develop ( f6ac94...a82602 )
by Paul
01:59
created
src/Helpers/Media.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 	public $image;
13 13
 	public $video;
14 14
 
15
-	public function __construct( Gallery $gallery, Image $image, Video $video )
15
+	public function __construct(Gallery $gallery, Image $image, Video $video)
16 16
 	{
17 17
 		$this->gallery = $gallery;
18 18
 		$this->image   = $image;
@@ -22,20 +22,20 @@  discard block
 block discarded – undo
22 22
 	/**
23 23
 	 * @return void|string
24 24
 	 */
25
-	public function gallery( array $args = [] )
25
+	public function gallery(array $args = [])
26 26
 	{
27
-		$gallery = $this->gallery->query( $args );
27
+		$gallery = $this->gallery->query($args);
28 28
 
29
-		if( $gallery->have_posts() ) {
30
-			return $this->gallery->render( $gallery ) . $this->gallery->renderPagination( $gallery );
29
+		if ($gallery->have_posts()) {
30
+			return $this->gallery->render($gallery) . $this->gallery->renderPagination($gallery);
31 31
 		}
32 32
 	}
33 33
 
34 34
 	/**
35 35
 	 * @return WP_Query
36 36
 	 */
37
-	public function getGalleryQuery( array $args = [] )
37
+	public function getGalleryQuery(array $args = [])
38 38
 	{
39
-		return $this->gallery->query( $args );
39
+		return $this->gallery->query($args);
40 40
 	}
41 41
 }
Please login to merge, or discard this patch.
src/Facades/Render.php 1 patch
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.