mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Use short array declaration
This commit is contained in:
@@ -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 = '';
|
||||
|
Reference in New Issue
Block a user