Completed
Push — master ( a818cb...b1c6ca )
by Kamil
07:13 queued 10s
created
src/Sylius/Bundle/CoreBundle/Fixture/OptionsResolver/LazyOption.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     public static function findOneBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure
124 124
     {
125 125
         return
126
-            /** @param mixed $previousValue */
126
+            /** @param string $previousValue */
127 127
             function (Options $options, $previousValue) use ($repository, $field, $criteria): ?object {
128 128
                 if (null === $previousValue || [] === $previousValue) {
129 129
                     return $previousValue;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 
103 103
     public static function findBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure
104 104
     {
105
-        return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria): ?iterable {
105
+        return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria) : ?iterable {
106 106
             if (null === $previousValues || [] === $previousValues) {
107 107
                 return $previousValues;
108 108
             }
Please login to merge, or discard this patch.