Completed
Pull Request — master (#7)
by Paweł
10:17 queued 05:33
created
SWP/TemplatesSystem/Gimme/Meta/Meta.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -123,6 +123,7 @@
 block discarded – undo
123 123
      * Check if string is JSON
124 124
      *
125 125
      * @param  string
126
+     * @param string $string
126 127
      *
127 128
      * @return bool
128 129
      */
Please login to merge, or discard this patch.
SWP/TemplatesSystem/Twig/TokenParser/ContainerTokenParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         $lineno = $token->getLine();
48 48
         $stream = $this->parser->getStream();
49 49
 
50
-        $name  = $this->parser->getExpressionParser()->parseExpression();
50
+        $name = $this->parser->getExpressionParser()->parseExpression();
51 51
         
52 52
         $parameters = null;
53 53
         if ($stream->nextIf(\Twig_Token::NAME_TYPE, 'with')) {
Please login to merge, or discard this patch.
SWP/TemplatesSystem/Tests/Gimme/Model/Widget.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
     /**
135 135
      * Gets the value of type.
136 136
      *
137
-     * @return integer
137
+     * @return string
138 138
      */
139 139
     public function getType()
140 140
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 namespace SWP\TemplatesSystem\Tests\Gimme\Model;
16 16
 
17 17
 use SWP\TemplatesSystem\Gimme\Model\WidgetInterface;
18
-use Doctrine\Common\Collections\ArrayCollection;
19 18
 
20 19
 /**
21 20
  * Widget.
Please login to merge, or discard this patch.
SWP/TemplatesSystem/Tests/Gimme/Widget/HtmlWidgetTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 
24 24
     public function setUp()
25 25
     {
26
-    	$widgetEntity = new Widget();
27
-    	$widgetEntity->setId(1);
26
+        $widgetEntity = new Widget();
27
+        $widgetEntity->setId(1);
28 28
         $widgetEntity->setParameters(['html_body' => 'simple html body']);
29 29
 
30 30
         $this->widget = new HtmlWidget($widgetEntity);
Please login to merge, or discard this patch.