Completed
Push — master ( adc156...83e564 )
by
unknown
01:30
created
src/Rendered/Expression.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
4 4
 
5 5
 class Expression implements Rendered {
6 6
 
7
-    public function __construct(Rendered $render)
8
-    {
9
-        $this->render = $render;
10
-    }
7
+	public function __construct(Rendered $render)
8
+	{
9
+		$this->render = $render;
10
+	}
11 11
 
12
-    public function handle($content)
13
-    {
14
-        return $this->render->handle("#!!" . $content->render() . "!!#");
15
-    }
12
+	public function handle($content)
13
+	{
14
+		return $this->render->handle("#!!" . $content->render() . "!!#");
15
+	}
16 16
 }
17 17
\ No newline at end of file
Please login to merge, or discard this patch.
src/Rendered/Criteria.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
4 4
 
5 5
 class Criteria implements Rendered {
6 6
 
7
-    public function __construct(Rendered $render)
8
-    {
9
-        $this->render = $render;
10
-    }
7
+	public function __construct(Rendered $render)
8
+	{
9
+		$this->render = $render;
10
+	}
11 11
 
12
-    public function handle($content)
13
-    {
14
-        return $this->render->handle($content);
15
-    }
12
+	public function handle($content)
13
+	{
14
+		return $this->render->handle($content);
15
+	}
16 16
 }
Please login to merge, or discard this patch.
src/Rendered/Render.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
4 4
 
5 5
 class Render implements rendered {
6 6
 
7
-    public function __construct($class)
8
-    {
9
-        $this->class = $class;
10
-    }
7
+	public function __construct($class)
8
+	{
9
+		$this->class = $class;
10
+	}
11 11
 
12
-    public function handle($content)
13
-    {
14
-        return [lcfirst(class_basename(get_class($this->class))) => $content];
15
-    }
12
+	public function handle($content)
13
+	{
14
+		return [lcfirst(class_basename(get_class($this->class))) => $content];
15
+	}
16 16
 }
Please login to merge, or discard this patch.
src/Rendered/Subset.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -4,19 +4,19 @@
 block discarded – undo
4 4
 
5 5
 class Subset implements Rendered {
6 6
 
7
-    public function __construct(Rendered $render)
8
-    {
9
-        $this->render = $render;
10
-    }
7
+	public function __construct(Rendered $render)
8
+	{
9
+		$this->render = $render;
10
+	}
11 11
 
12
-    public function handle($content)
13
-    {
14
-        $subset = lcfirst(class_basename(get_class($this->render->class)));
12
+	public function handle($content)
13
+	{
14
+		$subset = lcfirst(class_basename(get_class($this->render->class)));
15 15
 
16
-        if ($subset === 'series' && (! $this->render->class->cascade || starts_with($this->render->class->cascade, 'series.'))) {
17
-            $content = [$content];
18
-        }
16
+		if ($subset === 'series' && (! $this->render->class->cascade || starts_with($this->render->class->cascade, 'series.'))) {
17
+			$content = [$content];
18
+		}
19 19
 
20
-        return $this->render->handle($content);
21
-    }
20
+		return $this->render->handle($content);
21
+	}
22 22
 }
23 23
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     {
14 14
         $subset = lcfirst(class_basename(get_class($this->render->class)));
15 15
 
16
-        if ($subset === 'series' && (! $this->render->class->cascade || starts_with($this->render->class->cascade, 'series.'))) {
16
+        if ($subset === 'series' && (!$this->render->class->cascade || starts_with($this->render->class->cascade, 'series.'))) {
17 17
             $content = [$content];
18 18
         }
19 19
 
Please login to merge, or discard this patch.
src/Rendered/Rendered.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
 
5 5
 interface Rendered {
6 6
 
7
-    public function handle($content);
7
+	public function handle($content);
8 8
 
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
src/Criterias/Builder.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
 		$render = new Rendered\Render($this);
20 20
 		$render = new Rendered\Criteria($render);
21 21
 
22
-	    if ($this->content instanceof Expression) {
22
+		if ($this->content instanceof Expression) {
23 23
 			$render = new Rendered\Expression($render);
24
-	    }
24
+		}
25 25
 
26 26
 		return $render->handle($this->content);
27 27
 	}
Please login to merge, or discard this patch.