Completed
Push — master ( 5ceb59...4f9424 )
by Cheren
02:03
created
src/View/Helper/FormHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      */
174 174
     protected function _addDefaultContextProviders()
175 175
     {
176
-        $this->addContextProvider('orm', function ($request, $data) {
176
+        $this->addContextProvider('orm', function($request, $data) {
177 177
             if (is_array($data['entity']) || $data['entity'] instanceof \Traversable) {
178 178
                 $pass = (new Collection($data['entity']))->first() !== null;
179 179
                 if ($pass) {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
      */
214 214
     protected function _addFormArrayProvider()
215 215
     {
216
-        $this->addContextProvider('array', function ($request, $data) {
216
+        $this->addContextProvider('array', function($request, $data) {
217 217
             if (is_array($data['entity']) && isset($data['entity']['schema'])) {
218 218
                 return new ArrayContext($request, $data['entity']);
219 219
             }
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
      */
228 228
     protected function _addFormContextProvider()
229 229
     {
230
-        $this->addContextProvider('form', function ($request, $data) {
230
+        $this->addContextProvider('form', function($request, $data) {
231 231
             if ($data['entity'] instanceof Form) {
232 232
                 return new FormContext($request, $data);
233 233
             }
Please login to merge, or discard this patch.