"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Neos.Neos/Classes/Fusion/DimensionsMenuItemsImplementation.php" between
neos-development-collection-7.0.0.tar.gz and neos-development-collection-7.0.1.tar.gz

About: TYPO3 Neos is a Content Application Platform with a CMS and an application framework at its core (based on the PHP web application platform "FLOW3").

DimensionsMenuItemsImplementation.php  (neos-development-collection-7.0.0):DimensionsMenuItemsImplementation.php  (neos-development-collection-7.0.1)
skipping to change at line 177 skipping to change at line 177
/** /**
* Get the current node in the given dimensions. * Get the current node in the given dimensions.
* If it doesn't exist the method returns null. * If it doesn't exist the method returns null.
* *
* @param array $dimensions * @param array $dimensions
* @param array $targetDimensions * @param array $targetDimensions
* @return NodeInterface|null * @return NodeInterface|null
*/ */
protected function getNodeInDimensions(array $dimensions, array $targetDimen sions) protected function getNodeInDimensions(array $dimensions, array $targetDimen sions)
{ {
if ($this->currentNode === null) {
return null;
}
$q = new FlowQuery([$this->currentNode]); $q = new FlowQuery([$this->currentNode]);
return $q->context([ return $q->context([
'dimensions' => $dimensions, 'dimensions' => $dimensions,
'targetDimensions' => $targetDimensions 'targetDimensions' => $targetDimensions
])->get(0); ])->get(0);
} }
/** /**
* *
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)