Passed
Pull Request — master (#760)
by Daniel
03:01
created
src/Entity/HierarchicalEntityId.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Wikibase\DataModel\Entity;
4 4
 
5 5
 use InvalidArgumentException;
6
-use Serializable;
7 6
 
8 7
 /**
9 8
  * Base class for hierarchical entity IDs. Hierarchical entity IDs are addresses that can be
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 	 * Splits an ID serialization into the relative part, and the base ID.
46 46
 	 *
47 47
 	 * @param $serialization
48
-	 * @return array A two element array of strings, [ $basePart, $relativePart ]
48
+	 * @return string[] A two element array of strings, [ $basePart, $relativePart ]
49 49
 	 */
50 50
 	protected static function splitHierarchicalSerialization( $serialization ) {
51 51
 		if ( !preg_match( '/^(.+)[-#]([^-#]+)/', $serialization, $m ) ) {
Please login to merge, or discard this patch.