8000 Add scalar typehints/return types on final/internal/private code · symfony/property-access@5cfb8d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5cfb8d6

Browse files
author
Robin Chalas
committed
Add scalar typehints/return types on final/internal/private code
1 parent 3615254 commit 5cfb8d6

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

PropertyAccess.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,12 @@ final class PropertyAccess
2323
*
2424
* @return PropertyAccessor
2525
*/
26-
public static function createPropertyAccessor()
26+
public static function createPropertyAccessor(): PropertyAccessor
2727
{
2828
return self::createPropertyAccessorBuilder()->getPropertyAccessor();
2929
}
3030

31-
/**
32-
* Creates a property accessor builder.
33-
*
34-
* @return PropertyAccessorBuilder
35-
*/
36-
public static function createPropertyAccessorBuilder()
31+
public static function createPropertyAccessorBuilder(): PropertyAccessorBuilder
3732
{
3833
return new PropertyAccessorBuilder();
3934
}

0 commit comments

Comments
 (0)
0