Passed
Branch master (3db7ff)
by Bas
03:52
created
Category
src/ParameterBag.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      * @param string|int $offset
42 42
      * @return ParameterInterface|null
43 43
      */
44
-    public function offsetGet($offset):? ParameterInterface
44
+    public function offsetGet($offset): ? ParameterInterface
45 45
     {
46 46
         if (gettype($offset) === 'string') {
47 47
             $offset = $this->getOffsetFromName($offset);
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      * @param string $name
95 95
      * @return int|null
96 96
      */
97
-    protected function getOffsetFromName(string $name):? int
97
+    protected function getOffsetFromName(string $name): ? int
98 98
     {
99 99
         foreach ($this as $key => $parameter) {
100 100
             if ($parameter->getName() === $name) {
Please login to merge, or discard this patch.
src/ParameterBagHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * @return array|null
43 43
      * @throws RuntimeException
44 44
      */
45
-    public function serializeParameterBag(VisitorInterface $visitor, ? ParameterBag $data, array $type, Context $context):? array
45
+    public function serializeParameterBag(VisitorInterface $visitor, ? ParameterBag $data, array $type, Context $context): ? array
46 46
     {
47 47
         $result = [];
48 48
         if ($data === null) {
Please login to merge, or discard this patch.