We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -27,15 +27,15 @@ |
||
| 27 | 27 | public $scriptRelPath = 'Classes/Plugin/View3D.php'; |
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | - * The main method of the PlugIn |
|
| 31 | - * |
|
| 32 | - * @access public |
|
| 33 | - * |
|
| 34 | - * @param string $content: The PlugIn content |
|
| 35 | - * @param array $conf: The PlugIn configuration |
|
| 36 | - * |
|
| 37 | - * @return string The content that is displayed on the website |
|
| 38 | - */ |
|
| 30 | + * The main method of the PlugIn |
|
| 31 | + * |
|
| 32 | + * @access public |
|
| 33 | + * |
|
| 34 | + * @param string $content: The PlugIn content |
|
| 35 | + * @param array $conf: The PlugIn configuration |
|
| 36 | + * |
|
| 37 | + * @return string The content that is displayed on the website |
|
| 38 | + */ |
|
| 39 | 39 | public function main($content, $conf) |
| 40 | 40 | { |
| 41 | 41 | $this->init($conf); |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | ResponseInterface $response, |
| 79 | 79 | ServerRequestInterface $request |
| 80 | 80 | ): ResponseInterface { |
| 81 | - $origin = (string) ($request->getHeaderLine('Origin') ?: '*'); |
|
| 81 | + $origin = (string) ($request->getHeaderLine('Origin') ? : '*'); |
|
| 82 | 82 | |
| 83 | 83 | return $response |
| 84 | 84 | ->withHeader('Access-Control-Allow-Methods', 'GET, OPTIONS') |
@@ -277,16 +277,16 @@ |
||
| 277 | 277 | return $menuArray; |
| 278 | 278 | } |
| 279 | 279 | |
| 280 | - /** |
|
| 281 | - * This builds a menu for list of 3D objects |
|
| 282 | - * |
|
| 283 | - * @access public |
|
| 284 | - * |
|
| 285 | - * @param string $content: The PlugIn content |
|
| 286 | - * @param array $conf: The PlugIn configuration |
|
| 287 | - * |
|
| 288 | - * @return array HMENU array |
|
| 289 | - */ |
|
| 280 | + /** |
|
| 281 | + * This builds a menu for list of 3D objects |
|
| 282 | + * |
|
| 283 | + * @access public |
|
| 284 | + * |
|
| 285 | + * @param string $content: The PlugIn content |
|
| 286 | + * @param array $conf: The PlugIn configuration |
|
| 287 | + * |
|
| 288 | + * @return array HMENU array |
|
| 289 | + */ |
|
| 290 | 290 | public function makeMenuFor3DObjects($content, $conf) |
| 291 | 291 | { |
| 292 | 292 | $this->init($conf); |
@@ -333,7 +333,7 @@ |
||
| 333 | 333 | $entryArray['type'] = Helper::translate($entry['type'], 'tx_dlf_structures', $this->conf['pages']); |
| 334 | 334 | $entryArray['pagination'] = htmlspecialchars($entry['pagination']); |
| 335 | 335 | $entryArray['doNotLinkIt'] = 1; |
| 336 | - if ($entry['children'] == NULL) { |
|
| 336 | + if ($entry['children'] == null) { |
|
| 337 | 337 | $entryArray['description'] = $entry['description']; |
| 338 | 338 | $id = str_replace("LOG", "PHYS", $entry['id']); |
| 339 | 339 | $entryArray['image'] = $this->doc->getFileLocation($this->doc->physicalStructureInfo[$id]['files']['THUMBS']); |