Use short array declaration

This commit is contained in:
Romain Neutron
2013-11-18 11:58:12 +01:00
parent 2898b317c4
commit 56b373ee6e
723 changed files with 8350 additions and 8352 deletions

View File

@@ -22,7 +22,7 @@ class uuid
}
// Get hexadecimal components of namespace
$nhex = str_replace(array('-', '{', '}'), '', $namespace);
$nhex = str_replace(['-', '{', '}'], '', $namespace);
// Binary Value
$nstr = '';
@@ -89,7 +89,7 @@ class uuid
}
// Get hexadecimal components of namespace
$nhex = str_replace(array('-', '{', '}'), '', $namespace);
$nhex = str_replace(['-', '{', '}'], '', $namespace);
// Binary Value
$nstr = '';