Passed
Pull Request — 7.x (#767)
by Leszek
04:48 queued 02:14
created
src/Entity/EntityId.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@  discard block
 block discarded – undo
40 40
 		list ( $this->repositoryName, $this->localPart ) = self::extractRepositoryNameAndLocalPart( $serialization );
41 41
 	}
42 42
 
43
+	/**
44
+	 * @param string $serialization
45
+	 */
43 46
 	private static function assertValidSerialization( $serialization ) {
44 47
 		if ( !is_string( $serialization ) ) {
45 48
 			throw new InvalidArgumentException( '$serialization must be a string' );
@@ -92,7 +95,7 @@  discard block
 block discarded – undo
92 95
 	 * Note: this method does not perform any validation of the given input. Calling code should take
93 96
 	 * care of this!
94 97
 	 *
95
-	 * @param $serialization
98
+	 * @param string $serialization
96 99
 	 * @return array
97 100
 	 */
98 101
 	private static function extractSerializationParts( $serialization ) {
Please login to merge, or discard this patch.