Completed
Pull Request — develop (#241)
by ANTHONIUS
07:56
created
module/Orders/src/Listener/CreateJobOrder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $this->priceFilter     = $priceFilter;
63 63
         $this->options         = $options;
64 64
         $this->providerOptions = $providerOptions;
65
-        $this->orderRepository      = $orderRepository;
65
+        $this->orderRepository = $orderRepository;
66 66
         $this->draftRepository = $draftRepository;
67 67
     }
68 68
 
Please login to merge, or discard this patch.
module/Orders/src/Form/InvoiceAddress.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@  discard block
 block discarded – undo
53 53
     {
54 54
         parent::setParam($key, $value);
55 55
 
56
-        $events  = $this->getEventManager();
57
-        $events->trigger(FormEvent::EVENT_SET_PARAM, $this, [ 'param_name' => $key, 'param_value' => $value ]);
56
+        $events = $this->getEventManager();
57
+        $events->trigger(FormEvent::EVENT_SET_PARAM, $this, ['param_name' => $key, 'param_value' => $value]);
58 58
 
59 59
         return $this;
60 60
     }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         $valid = parent::isValid();
66 66
 
67 67
         $events = $this->getEventManager();
68
-        $events->trigger(FormEvent::EVENT_VALIDATE, $this, [ 'isValid' => $valid ]);
68
+        $events->trigger(FormEvent::EVENT_VALIDATE, $this, ['isValid' => $valid]);
69 69
 
70 70
         return $valid;
71 71
     }
Please login to merge, or discard this patch.
module/Orders/src/Form/Listener/DisableJobInvoiceAddress.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         /* @var \Orders\Form\InvoiceAddress $invoiceAddress */
36 36
         $invoiceAddress = $event->getForm()->getForm('invoice.invoiceAddress');
37 37
         $invoiceAddress->setDisplayMode(SummaryFormInterface::DISPLAY_SUMMARY);
38
-        foreach($invoiceAddress->getBaseFieldset() as $element) {
38
+        foreach ($invoiceAddress->getBaseFieldset() as $element) {
39 39
             $element->setAttribute('disabled', true);
40 40
         }
41 41
     }
Please login to merge, or discard this patch.
src/Applications/Factory/Listener/EventApplicationCreatedFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @param ServiceLocatorInterface $serviceLocator
29 29
      *
30
-     * @return mixed
30
+     * @return EventApplicationCreated
31 31
      */
32 32
     public function createService(ServiceLocatorInterface $serviceLocator)
33 33
     {
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/ContactContainer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function init()
26 26
     {
27 27
         $this->setIsDisableCapable(false)
28
-             ->setIsDisableElementsCapable(false);
28
+                ->setIsDisableElementsCapable(false);
29 29
 
30 30
         $this->setForms(
31 31
             array(
Please login to merge, or discard this patch.
module/Auth/src/Auth/Repository/Filter/PaginationSearchUsers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
 
22 22
     protected $sortPropertiesMap = [
23
-        'name' => [ 'info.lastName', 'info.firstName', 'info.email' ],
23
+        'name' => ['info.lastName', 'info.firstName', 'info.email'],
24 24
     ];
25 25
 
26 26
     /**
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/AdminControllerEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->models = new PriorityList();
35 35
     }
36 36
 
37
-    public function addViewModel($name, $model, $priority=0)
37
+    public function addViewModel($name, $model, $priority = 0)
38 38
     {
39 39
         $this->models->insert($name, $model, $priority);
40 40
 
Please login to merge, or discard this patch.
module/Jobs/config/router.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 // Routes
13 13
 return array('router' => array('routes' => array('lang' => array('child_routes' => array(
14
-    'admin' => [ 'child_routes' => [
14
+    'admin' => ['child_routes' => [
15 15
         'jobs' => [
16 16
             'type' => 'Segment',
17 17
             'options' => [
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Element/StatusSelect.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         if (true === $this->getOption('include_all_option')) {
37 37
             $valueOptions = array_merge([
38 38
                                             'all' => /*@translate*/ 'All',
39
-                                         ], $valueOptions );
39
+                                         ], $valueOptions);
40 40
         }
41 41
 
42 42
         $this->setValueOptions($valueOptions);
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $options = parent::getValueOptions();
83 83
 
84 84
         return true === $this->getOption('include_all_option')
85
-               ? array_merge([ 'all' => /*@translate*/ 'All' ], $options)
85
+               ? array_merge(['all' => /*@translate*/ 'All'], $options)
86 86
                : $options;
87 87
     }
88 88
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         if (true === $this->getOption('include_all_option')) {
37 37
             $valueOptions = array_merge([
38 38
                                             'all' => /*@translate*/ 'All',
39
-                                         ], $valueOptions );
39
+                                            ], $valueOptions );
40 40
         }
41 41
 
42 42
         $this->setValueOptions($valueOptions);
Please login to merge, or discard this patch.