|
@@ -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.