Skip to content

Commit bc5e7d8

Browse files
committed
[CS] Enforces null type hint on last position in phpDocs
1 parent 8421939 commit bc5e7d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Definition.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ public function setFactoryMethod($factoryMethod)
142142
/**
143143
* Sets the service that this service is decorating.
144144
*
145-
* @param null|string $id The decorated service id, use null to remove decoration
146-
* @param null|string $renamedId The new decorated service id
145+
* @param string|null $id The decorated service id, use null to remove decoration
146+
* @param string|null $renamedId The new decorated service id
147147
* @param int $priority The priority of decoration
148148
*
149149
* @return $this
@@ -168,7 +168,7 @@ public function setDecoratedService($id, $renamedId = null, $priority = 0)
168168
/**
169169
* Gets the service that this service is decorating.
170170
*
171-
* @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
171+
* @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
172172
*/
173173
public function getDecoratedService()
174174
{

0 commit comments

Comments
 (0)