@@ -3,7 +3,6 @@ |
||
| 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 |
@@ -45,7 +45,7 @@ |
||
| 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 ) ) { |