Completed
Push — master ( 59db0f...abafe8 )
by Kamil
18:55
created
src/Sylius/Bundle/ResourceBundle/Behat/WebContext.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         $entityManager = $this->getEntityManager();
97 97
         $entityManager->getFilters()->disable('softdeleteable');
98 98
 
99
-        $resource = $this->waitFor(function () use ($type, $property, $value) {
99
+        $resource = $this->waitFor(function() use ($type, $property, $value) {
100 100
             return $this->getRepository($type)->findOneBy([$property => $value]);
101 101
         });
102 102
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         $entityManager = $this->getEntityManager();
127 127
         $entityManager->getFilters()->disable('softdeleteable');
128 128
 
129
-        $resource = $this->waitFor(function () use ($type, $name) {
129
+        $resource = $this->waitFor(function() use ($type, $name) {
130 130
             return $this->getRepository($type)->findOneByName($name);
131 131
         });
132 132
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
             return;
166 166
         }
167 167
 
168
-        if('product option' === $type) {
168
+        if ('product option' === $type) {
169 169
             $this->iAmDoingSomethingWithResource($action, $type, 'code', $name);
170 170
 
171 171
             return;
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
      */
708 708
     protected function waitForModalToAppear($modalContainer)
709 709
     {
710
-        $this->waitFor(function () use ($modalContainer) {
710
+        $this->waitFor(function() use ($modalContainer) {
711 711
             return false !== strpos($modalContainer->getAttribute('class'), 'in');
712 712
         });
713 713
     }
@@ -717,7 +717,7 @@  discard block
 block discarded – undo
717 717
      */
718 718
     protected function waitForModalToDisappear($modalContainer)
719 719
     {
720
-        $this->waitFor(function () use ($modalContainer) {
720
+        $this->waitFor(function() use ($modalContainer) {
721 721
             return false === strpos($modalContainer->getAttribute('class'), 'in');
722 722
         });
723 723
     }
Please login to merge, or discard this patch.