Completed
Push — master ( dd8e8b...292358 )
by
unknown
01:44
created
src/Rendered/Render.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 class Render implements rendered {
6 6
 
7
-    /**
8
-    * [handle description]
9
-    * @param string $key  
10
-    * @param string $content  
11
-    * @return array  
12
-    */
13
-    public function handle($key, $content)
14
-    {
15
-        return [$key => $content];
16
-    }
7
+	/**
8
+	 * [handle description]
9
+	 * @param string $key  
10
+	 * @param string $content  
11
+	 * @return array  
12
+	 */
13
+	public function handle($key, $content)
14
+	{
15
+		return [$key => $content];
16
+	}
17 17
 }
Please login to merge, or discard this patch.
src/Rendered/Subset.php 2 patches
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -4,40 +4,40 @@
 block discarded – undo
4 4
 
5 5
 class Subset implements Rendered {
6 6
 
7
-    protected $render;
8
-    protected $cascade = null;
7
+	protected $render;
8
+	protected $cascade = null;
9 9
 
10
-    /**
11
-     * [__construct description]
12
-     * @param \EnergieProduction\Chart\Rendered\Rendered $render
13
-     */
14
-    public function __construct(Rendered $render)
15
-    {
16
-        $this->render = $render;
17
-    }
10
+	/**
11
+	 * [__construct description]
12
+	 * @param \EnergieProduction\Chart\Rendered\Rendered $render
13
+	 */
14
+	public function __construct(Rendered $render)
15
+	{
16
+		$this->render = $render;
17
+	}
18 18
 
19
-    /**
20
-     * [setCascade description]
21
-     * @param string
22
-     * @return void
23
-     */
24
-    public function setCascade($cascade = null)
25
-    {
26
-        $this->cascade = $cascade;
27
-    }
19
+	/**
20
+	 * [setCascade description]
21
+	 * @param string
22
+	 * @return void
23
+	 */
24
+	public function setCascade($cascade = null)
25
+	{
26
+		$this->cascade = $cascade;
27
+	}
28 28
 
29
-    /**
30
-    * [handle description]
31
-    * @param string $key  
32
-    * @param string $content  
33
-    * @return array  
34
-    */
35
-    public function handle($key, $content)
36
-    {
37
-        if ($key == 'series' && (! $this->cascade || starts_with($this->cascade, 'series.'))) {
38
-            $content = [$content];
39
-        }
29
+	/**
30
+	 * [handle description]
31
+	 * @param string $key  
32
+	 * @param string $content  
33
+	 * @return array  
34
+	 */
35
+	public function handle($key, $content)
36
+	{
37
+		if ($key == 'series' && (! $this->cascade || starts_with($this->cascade, 'series.'))) {
38
+			$content = [$content];
39
+		}
40 40
 
41
-        return $this->render->handle($key, $content);
42
-    }
41
+		return $this->render->handle($key, $content);
42
+	}
43 43
 }
44 44
\ 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
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     */
35 35
     public function handle($key, $content)
36 36
     {
37
-        if ($key == 'series' && (! $this->cascade || starts_with($this->cascade, 'series.'))) {
37
+        if ($key == 'series' && (!$this->cascade || starts_with($this->cascade, 'series.'))) {
38 38
             $content = [$content];
39 39
         }
40 40
 
Please login to merge, or discard this patch.
src/Rendered/Criteria.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,19 +10,19 @@
 block discarded – undo
10 10
 	 * [__construct description]
11 11
 	 * @param \EnergieProduction\Chart\Rendered\Rendered $render
12 12
 	 */
13
-    public function __construct(Rendered $render)
14
-    {
15
-        $this->render = $render;
16
-    }
13
+	public function __construct(Rendered $render)
14
+	{
15
+		$this->render = $render;
16
+	}
17 17
 
18
-    /**
19
-    * [handle description]
20
-    * @param string $key  
21
-    * @param string $content  
22
-    * @return array  
23
-    */
24
-    public function handle($key, $content)
25
-    {
26
-        return $this->render->handle($key, $content);
27
-    }
18
+	/**
19
+	 * [handle description]
20
+	 * @param string $key  
21
+	 * @param string $content  
22
+	 * @return array  
23
+	 */
24
+	public function handle($key, $content)
25
+	{
26
+		return $this->render->handle($key, $content);
27
+	}
28 28
 }
Please login to merge, or discard this patch.
src/Rendered/Expression.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,19 +10,19 @@
 block discarded – undo
10 10
 	 * [__construct description]
11 11
 	 * @param \EnergieProduction\Chart\Rendered\Rendered $render
12 12
 	 */
13
-    public function __construct(Rendered $render)
14
-    {
15
-        $this->render = $render;
16
-    }
13
+	public function __construct(Rendered $render)
14
+	{
15
+		$this->render = $render;
16
+	}
17 17
 
18
-    /**
19
-    * [handle description]
20
-    * @param string $key  
21
-    * @param string $content  
22
-    * @return array  
23
-    */
24
-    public function handle($key, $content)
25
-    {
26
-        return $this->render->handle($key, "#!!" . $content . "!!#");
27
-    }
18
+	/**
19
+	 * [handle description]
20
+	 * @param string $key  
21
+	 * @param string $content  
22
+	 * @return array  
23
+	 */
24
+	public function handle($key, $content)
25
+	{
26
+		return $this->render->handle($key, "#!!" . $content . "!!#");
27
+	}
28 28
 }
Please login to merge, or discard this patch.