Skip to content

Commit aea20fe

Browse files
Merge branch '2.8' into 3.4
* 2.8: [php_cs] disable fopen_flags [CS] Remove unused variables passed to closures [CS] Remove empty comment [CS] Enforces null type hint on last position in phpDocs [CS] Use combined assignment operators when possible Fix a typo in error messages [Console] Add missing null to input values allowed types [PHPUnitBridge] Fix microtime() format bumped Symfony version to 2.8.47 update CONTRIBUTORS for 2.8.46 updated VERSION for 2.8.46 updated CHANGELOG for 2.8.46
2 parents 6a585c4 + bc5e7d8 commit aea20fe

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

ContainerBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ public function register($id, $class = null)
959959
* an autowired definition.
960960
*
961961
* @param string $id The service identifier
962-
* @param null|string $class The service class
962+
* @param string|null $class The service class
963963
*
964964
* @return Definition The created definition
965965
*/

Definition.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ public function getFactory()
119119
/**
120120
* Sets the service that this service is decorating.
121121
*
122-
* @param null|string $id The decorated service id, use null to remove decoration
123-
* @param null|string $renamedId The new decorated service id
122+
* @param string|null $id The decorated service id, use null to remove decoration
123+
* @param string|null $renamedId The new decorated service id
124124
* @param int $priority The priority of decoration
125125
*
126126
* @return $this
@@ -147,7 +147,7 @@ public function setDecoratedService($id, $renamedId = null, $priority = 0)
147147
/**
148148
* Gets the service that this service is decorating.
149149
*
150-
* @return null|array An array composed of the decorated service id, the new id for it and the priority of decoration, null if no service is decorated
150+
* @return array|null An array composed of the decorated service id, the new id for it and the priority of decoration, null if no service is decorated
151151
*/
152152
public function getDecoratedService()
153153
{

Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ private function wrapServiceConditionals($value, $code)
14841484
*
14851485
* @param string $value
14861486
*
1487-
* @return null|string
1487+
* @return string|null
14881488
*/
14891489
private function getServiceConditionals($value)
14901490
{

Loader/Configurator/Traits/DecorateTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ trait DecorateTrait
1818
/**
1919
* Sets the service that this service is decorating.
2020
*
21-
* @param null|string $id The decorated service id, use null to remove decoration
22-
* @param null|string $renamedId The new decorated service id
21+
* @param string|null $id The decorated service id, use null to remove decoration
22+
* @param string|null $renamedId The new decorated service id
2323
* @param int $priority The priority of decoration
2424
*
2525
* @return $this

0 commit comments

Comments
 (0)