Completed
Push — master ( 163a33...dd5665 )
by Cheren
05:01
created
src/View/Helper/JsHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
         if (count($this->_buffers)) {
78 78
             $scripts = $docEol .
79
-                'jQuery (function($) {'  . $docEol .
79
+                'jQuery (function($) {' . $docEol .
80 80
                 implode($docEol, $this->_buffers) . $docEol .
81 81
                 '});' . $docEol;
82 82
 
Please login to merge, or discard this patch.
src/ORM/Table.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use JBZoo\Data\JSON;
19 19
 use Cake\Event\Event;
20
-use Cake\Database\Type;
21 20
 use Cake\ORM\Table as CakeTable;
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
src/View/Helper/FormHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      */
152 152
     protected function _addDefaultContextProviders()
153 153
     {
154
-        $this->addContextProvider('orm', function ($request, $data) {
154
+        $this->addContextProvider('orm', function($request, $data) {
155 155
             if (is_array($data['entity']) || $data['entity'] instanceof \Traversable) {
156 156
                 $pass = (new Collection($data['entity']))->first() !== null;
157 157
                 if ($pass) {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      */
192 192
     protected function _addFormContextProvider()
193 193
     {
194
-        $this->addContextProvider('form', function ($request, $data) {
194
+        $this->addContextProvider('form', function($request, $data) {
195 195
             if ($data['entity'] instanceof Form) {
196 196
                 return new FormContext($request, $data);
197 197
             }
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      */
206 206
     protected function _addFormArrayProvider()
207 207
     {
208
-        $this->addContextProvider('array', function ($request, $data) {
208
+        $this->addContextProvider('array', function($request, $data) {
209 209
             if (is_array($data['entity']) && isset($data['entity']['schema'])) {
210 210
                 return new ArrayContext($request, $data['entity']);
211 211
             }
Please login to merge, or discard this patch.