mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Use short array declaration
This commit is contained in:
@@ -52,7 +52,7 @@ class CreateCollection extends Command
|
||||
if ($new_collection && $input->getOption('base_id_rights')) {
|
||||
|
||||
$query = new \User_Query($this->container);
|
||||
$total = $query->on_base_ids(array($input->getOption('base_id_rights')))->get_total();
|
||||
$total = $query->on_base_ids([$input->getOption('base_id_rights')])->get_total();
|
||||
|
||||
$n = 0;
|
||||
while ($n < $total) {
|
||||
|
Reference in New Issue
Block a user