original_string: protected function currentPictures($current)
  	{
  		if (is_string($current) || is_null($current) || count($current) == 0){
  			return ['id' => null, 'path' => $current];
  		}
  
  		return $current->map(function ($item) {
  			$array = [
  				'id' => $item['id'],
  				'path' => $item['path']
  			];
  
  			return $array;
  		})->all();
  	}
code: protected function currentPictures($current)
  	{
  		if (is_string($current) || is_null($current) || count($current) == 0){
  			return ['id' => null, 'path' => $current];
  		}
  
  		return $current->map(function ($item) {
  			$array = [
  				'id' => $item['id'],
  				'path' => $item['path']
  			];
  
  			return $array;
  		})->all();
  	}
code_tokens: protected function currentPictures ( $ current ) { if ( is_string ( $ current ) || is_null ( $ current ) || count ( $ current ) == 0 ) { return [ 'id' => null , 'path' => $ current ] ; } return $ current -> map ( function ( $ item ) { $ array = [ 'id' => $ item [ 'id' ] , 'path' => $ item [ 'path' ] ] ; return $ array ; } ) -> all ( ) ; }
docstring: Map the current pictures.
  
  @param  array $current
  
  @return array
docstring_tokens: Map the current pictures .