@@ -54,7 +54,7 @@ |
||
| 54 | 54 | /** |
| 55 | 55 | * {@inheritdoc} |
| 56 | 56 | */ |
| 57 | - public function setParentPageView(DynamicPageView &$pageView) |
|
| 57 | + public function setParentPageView(DynamicPageView & $pageView) |
|
| 58 | 58 | { |
| 59 | 59 | $this->pageView = &$pageView; |
| 60 | 60 | } |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Add a CollectableItem for this PageView to handle. |
| 37 | 37 | */ |
| 38 | - public function addCollectableItem(CollectableItem &$collectable) |
|
| 38 | + public function addCollectableItem(CollectableItem & $collectable) |
|
| 39 | 39 | { |
| 40 | 40 | $this->collectableItems[$collectable->getRelativeFilePath()] = &$collectable; |
| 41 | 41 | $collectable->setParentPageView($this); |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | /** |
| 45 | 45 | * Delete a CollectableItem from this PageView. |
| 46 | 46 | */ |
| 47 | - public function delCollectableItem(CollectableItem &$collectableItem) |
|
| 47 | + public function delCollectableItem(CollectableItem & $collectableItem) |
|
| 48 | 48 | { |
| 49 | 49 | unset($this->collectableItems[$collectableItem->getRelativeFilePath()]); |
| 50 | 50 | } |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * @param array $whiteListFunctions A list of function names that can be called. |
| 31 | 31 | * @param array $jailedFunctions A list of functions that will be redirected to another function. |
| 32 | 32 | */ |
| 33 | - public function __construct(TemplateReadyDocument &$object, array $whiteListFunctions, array $jailedFunctions = array()) |
|
| 33 | + public function __construct(TemplateReadyDocument & $object, array $whiteListFunctions, array $jailedFunctions = array()) |
|
| 34 | 34 | { |
| 35 | 35 | $this->object = &$object; |
| 36 | 36 | $this->whiteListFunctions = $whiteListFunctions; |
@@ -63,7 +63,8 @@ |
||
| 63 | 63 | */ |
| 64 | 64 | public function getJailedDataItems() |
| 65 | 65 | { |
| 66 | - return self::getJailedTrackedItems($this->trackedItemsFlattened, function (DataItem $dataItem) { |
|
| 66 | + return self::getJailedTrackedItems($this->trackedItemsFlattened, function (DataItem $dataItem) |
|
| 67 | + { |
|
| 67 | 68 | return $dataItem->getBasename(); |
| 68 | 69 | }); |
| 69 | 70 | } |