Is good practice to write redundant variable to be more clear?
$arrImages = array_slice($arrImages, $offset, self::LIMIT_IMAGES);
return $arrImages;
CodePudding user response:
There is no much difference between the 2 ways anyway
it all depends on your personal preferences, and also the project conventions.