Skip to content

Commit 797505c

Browse files
Merge branch '3.4' into 4.3
* 3.4: Fix return statements [TwigBridge] add missing dep Add false type to ChoiceListFactoryInterface::createView $label argument
2 parents a53f7c9 + 27571e0 commit 797505c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PropertyPath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function getLength()
136136
public function getParent()
137137
{
138138
if ($this->length <= 1) {
139-
return;
139+
return null;
140140
}
141141

142142
$parent = clone $this;

PropertyPathInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function getLength();
4040
*
4141
* If this property path only contains one item, null is returned.
4242
*
43-
* @return PropertyPath The parent path or null
43+
* @return PropertyPath|null The parent path or null
4444
*/
4545
public function getParent();
4646

0 commit comments

Comments
 (0)