mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-05 12:08:42 +00:00
Nullable+void typehint
This commit is contained in:
parent
f3838e3809
commit
3d10908ce6
|
|
@ -36,7 +36,7 @@ class Navigation
|
|||
*
|
||||
* @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);
|
||||
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ class UploadFile
|
|||
return $result;
|
||||
}
|
||||
|
||||
private function interlace(string $extension, string $path) /* : void */
|
||||
private function interlace(string $extension, string $path) : void
|
||||
{
|
||||
|
||||
if ($extension === 'png') {
|
||||
|
|
@ -270,7 +270,7 @@ class UploadFile
|
|||
return $this->maxSize;
|
||||
}
|
||||
|
||||
public function setInterlaced(bool $interlaced) /* : void */
|
||||
public function setInterlaced(bool $interlaced) : void
|
||||
{
|
||||
$this->interlaced = $interlaced;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user