File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -287,15 +287,15 @@ public function cleanupCommand()
287287 * @param array $dimensions Optional list of dimensions and their values which should be set
288288 * @return Context
289289 */
290- protected function createContentContext ($ workspaceName , array $ dimensions = array () )
290+ protected function createContentContext ($ workspaceName , array $ dimensions = [] )
291291 {
292- $ contextProperties = array (
292+ $ contextProperties = [
293293 'workspaceName ' => $ workspaceName ,
294294 'invisibleContentShown ' => true ,
295295 'inaccessibleContentShown ' => true
296- ) ;
296+ ] ;
297297
298- if ($ dimensions !== array () ) {
298+ if ($ dimensions !== [] ) {
299299 $ contextProperties ['dimensions ' ] = $ dimensions ;
300300 $ contextProperties ['targetDimensions ' ] = array_map (function ($ dimensionValues ) {
301301 return array_shift ($ dimensionValues );
You can’t perform that action at this time.
0 commit comments