Nullable+void typehint

This commit is contained in:
Dennis Eichhorn 2018-03-13 20:55:24 +01:00
parent f3838e3809
commit 3d10908ce6
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ class Navigation
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public static function install(string $path = null, DatabasePool $dbPool = null) /* : void */ public static function install(string $path = null, DatabasePool $dbPool = null) : void
{ {
$navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);

View File

@ -193,7 +193,7 @@ class UploadFile
return $result; return $result;
} }
private function interlace(string $extension, string $path) /* : void */ private function interlace(string $extension, string $path) : void
{ {
if ($extension === 'png') { if ($extension === 'png') {
@ -270,7 +270,7 @@ class UploadFile
return $this->maxSize; return $this->maxSize;
} }
public function setInterlaced(bool $interlaced) /* : void */ public function setInterlaced(bool $interlaced) : void
{ {
$this->interlaced = $interlaced; $this->interlaced = $interlaced;
} }