Convert array syntax and other minor code style adjustments.
This commit is contained in:
63 files changed
+413
-404
No files matched your search
@@ -62,9 +62,9 @@ class GroupLayerMapper extends AbstractLayerMapper
|
||||
}
|
||||
|
||||
$collection = LayerModel::findBy(
|
||||
array('pid=?', 'active=1'),
|
||||
array($model->id),
|
||||
array('order' => 'sorting')
|
||||
['pid=?', 'active=1'],
|
||||
[$model->id],
|
||||
['order' => 'sorting']
|
||||
);
|
||||
|
||||
if ($collection) {
|
||||
|
||||
Reference in new issue
Block a user