diff --git a/.github/workflows/support.yml b/.github/workflows/support.yml index 07984f128..cec31561a 100644 --- a/.github/workflows/support.yml +++ b/.github/workflows/support.yml @@ -13,7 +13,13 @@ jobs: github-token: ${{ github.token }} support-label: "Support request" issue-comment: > - Thanks, but this issue tracker is not intended for support requests. Please read the guidelines on [submitting an issue](https://github.com/pmmp/PocketMine-MP/blob/master/CONTRIBUTING.md#creating-an-issue). + Hi, we only accept **bug reports** on this issue tracker, but this issue looks like a support request. + + + Instead of creating a bug report, try the following: + + - Check our [Documentation](https://doc.pmmp.io) to see if you can find answers there + - Ask the community on our [Discord server](https://discord.gg/bmSAZBG) or our [Forums](https://forums.pmmp.io) [Docs](https://pmmp.rtfd.io) | [Discord](https://discord.gg/bmSAZBG) | [Forums](https://forums.pmmp.io) diff --git a/.idea/fileTemplates/includes/PHP File Header.php b/.idea/fileTemplates/includes/PHP File Header.php index cbd387027..db6ec1e13 100644 --- a/.idea/fileTemplates/includes/PHP File Header.php +++ b/.idea/fileTemplates/includes/PHP File Header.php @@ -16,6 +16,6 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); \ No newline at end of file diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 3fbdf33bb..59d42fdf1 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -42,6 +42,28 @@ return (new PhpCsFixer\Config) 'import_functions' => true, 'import_classes' => null, ], + 'header_comment' => [ + 'comment_type' => 'comment', + 'header' => << 'after_open' + ], 'indentation_type' => true, 'logical_operators' => true, 'native_function_invocation' => [ diff --git a/build/generate-build-info-json.php b/build/generate-build-info-json.php index dd353fd7c..b4e92f7d6 100644 --- a/build/generate-build-info-json.php +++ b/build/generate-build-info-json.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/build/generate-known-translation-apis.php b/build/generate-known-translation-apis.php index a85cbb1b3..e799735c0 100644 --- a/build/generate-known-translation-apis.php +++ b/build/generate-known-translation-apis.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); @@ -75,7 +75,7 @@ const SHARED_HEADER = <<<'HEADER' * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/build/generate-registry-annotations.php b/build/generate-registry-annotations.php index e177871e9..2d271de98 100644 --- a/build/generate-registry-annotations.php +++ b/build/generate-registry-annotations.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/build/make-release.php b/build/make-release.php index d641d44ad..2701c7500 100644 --- a/build/make-release.php +++ b/build/make-release.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/build/server-phar.php b/build/server-phar.php index 2f5aa1050..f3d26a2c4 100644 --- a/build/server-phar.php +++ b/build/server-phar.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/changelogs/4.4.md b/changelogs/4.4.md index 070520d60..f1efa0ccd 100644 --- a/changelogs/4.4.md +++ b/changelogs/4.4.md @@ -75,3 +75,23 @@ Released 1st June 2022. - Added unit tests for the quote-aware command parser used by `SimpleCommandMap`. - Various hardcoded values in `block` package classes have been moved to private constants to improve readability. - Added various constants used in the `LevelDB` world provider. + +# 4.4.1 +Released 5th June 2022. + +## General +- The server process will now exit with an error code if plugins, worlds or network interfaces failed to start. + +## Fixes +- Fixed graylisted plugins preventing the server from starting. +- Fixed `composer make-devtools` command. +- Fixed the `Maximum memory (manager)` units being incorrectly displayed in `/status`. +- Fixed `Player->removeCurrentWindow()` breaking inventory windows. + +# 4.4.2 +Released 7th June 2022. + +## Fixes +- Fixed a crash when arbitrary item IDs appeared in network items in some cases. +- Fixed saved paintings being deleted when loaded from disk (regression from 4.3.4). +- Fixed max stack size of fishing rods. diff --git a/changelogs/4.5.md b/changelogs/4.5.md new file mode 100644 index 000000000..12fa0379e --- /dev/null +++ b/changelogs/4.5.md @@ -0,0 +1,14 @@ +**For Minecraft: Bedrock Edition 1.19.0** + +### Note about API versions +Plugins which don't touch the protocol and compatible with any previous 4.x.y version will also run on these releases and do not need API bumps. +Plugin developers should **only** update their required API to this version if you need the changes in this build. + +**WARNING: If your plugin uses the protocol, you're not shielded by API change constraints.** You should consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if you do. + +# 4.5.0 +Released 7th June 2022. + +## General +- Added support for Minecraft: Bedrock Edition 1.19.0. +- Removed support for older versions. \ No newline at end of file diff --git a/composer.json b/composer.json index f110f2824..479b8229f 100644 --- a/composer.json +++ b/composer.json @@ -34,8 +34,8 @@ "adhocore/json-comment": "^1.1", "fgrosse/phpasn1": "^2.3", "netresearch/jsonmapper": "^4.0", - "pocketmine/bedrock-data": "~1.7.0+bedrock-1.18.30", - "pocketmine/bedrock-protocol": "~9.0.0+bedrock-1.18.30", + "pocketmine/bedrock-data": "~1.8.0+bedrock-1.19.0", + "pocketmine/bedrock-protocol": "~10.0.0+bedrock-1.19.0", "pocketmine/binaryutils": "^0.2.1", "pocketmine/callback-validator": "^1.0.2", "pocketmine/classloader": "^0.2.0", @@ -79,7 +79,7 @@ "sort-packages": true }, "scripts": { - "make-devtools": "@php -dphar.readonly=0 tests/plugins/DevTools/src/ConsoleScript.php --make tests/plugins/DevTools --out plugins/DevTools.phar", + "make-devtools": "@php -dphar.readonly=0 tests/plugins/DevTools/src/ConsoleScript.php --make ./ --relative tests/plugins/DevTools --out plugins/DevTools.phar", "make-server": [ "@composer install --no-dev --classmap-authoritative --ignore-platform-reqs", "@php -dphar.readonly=0 build/server-phar.php" diff --git a/composer.lock b/composer.lock index 70a4b19cc..e71a6396c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1e967ff64cee3cae84242cc3e5a51752", + "content-hash": "363ffec55c206510b591b54f10138fc0", "packages": [ { "name": "adhocore/json-comment", @@ -249,16 +249,16 @@ }, { "name": "pocketmine/bedrock-data", - "version": "1.7.0+bedrock-1.18.30", + "version": "1.8.0+bedrock-1.19.0", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockData.git", - "reference": "c8f323ff0cbdb36a5d95e7e4a23969f562445be0" + "reference": "e654d0a6e5dfd55f8546097ea629c528a70c30ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockData/zipball/c8f323ff0cbdb36a5d95e7e4a23969f562445be0", - "reference": "c8f323ff0cbdb36a5d95e7e4a23969f562445be0", + "url": "https://api.github.com/repos/pmmp/BedrockData/zipball/e654d0a6e5dfd55f8546097ea629c528a70c30ee", + "reference": "e654d0a6e5dfd55f8546097ea629c528a70c30ee", "shasum": "" }, "type": "library", @@ -269,22 +269,22 @@ "description": "Blobs of data generated from Minecraft: Bedrock Edition, used by PocketMine-MP", "support": { "issues": "https://github.com/pmmp/BedrockData/issues", - "source": "https://github.com/pmmp/BedrockData/tree/bedrock-1.18.30" + "source": "https://github.com/pmmp/BedrockData/tree/bedrock-1.19.0" }, - "time": "2022-04-20T12:40:59+00:00" + "time": "2022-06-07T16:20:20+00:00" }, { "name": "pocketmine/bedrock-protocol", - "version": "9.0.2+bedrock-1.18.30", + "version": "10.0.0+bedrock-1.19.0", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockProtocol.git", - "reference": "37f1cd017caf7aaaa90330ee54690098283589cb" + "reference": "7c17498541bb9a375b945cb131e951674067c00e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/37f1cd017caf7aaaa90330ee54690098283589cb", - "reference": "37f1cd017caf7aaaa90330ee54690098283589cb", + "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/7c17498541bb9a375b945cb131e951674067c00e", + "reference": "7c17498541bb9a375b945cb131e951674067c00e", "shasum": "" }, "require": { @@ -298,7 +298,7 @@ "ramsey/uuid": "^4.1" }, "require-dev": { - "phpstan/phpstan": "1.7.4", + "phpstan/phpstan": "1.7.11", "phpstan/phpstan-phpunit": "^1.0.0", "phpstan/phpstan-strict-rules": "^1.0.0", "phpunit/phpunit": "^9.5" @@ -316,9 +316,9 @@ "description": "An implementation of the Minecraft: Bedrock Edition protocol in PHP", "support": { "issues": "https://github.com/pmmp/BedrockProtocol/issues", - "source": "https://github.com/pmmp/BedrockProtocol/tree/9.0.2+bedrock-1.18.30" + "source": "https://github.com/pmmp/BedrockProtocol/tree/10.0.0+bedrock-1.19.0" }, - "time": "2022-05-30T15:09:53+00:00" + "time": "2022-06-07T16:31:30+00:00" }, { "name": "pocketmine/binaryutils", @@ -1022,100 +1022,18 @@ ], "time": "2022-03-27T21:42:02+00:00" }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.25.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-10-20T20:35:02+00:00" - }, { "name": "symfony/polyfill-php81", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f" + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1", "shasum": "" }, "require": { @@ -1124,7 +1042,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1165,7 +1083,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.26.0" }, "funding": [ { @@ -1181,25 +1099,25 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:11+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "webmozart/assert", - "version": "1.10.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "symfony/polyfill-ctype": "^1.8" + "ext-ctype": "*", + "php": "^7.2 || ^8.0" }, "conflict": { "phpstan/phpstan": "<0.12.20", @@ -1237,9 +1155,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.10.0" + "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, - "time": "2021-03-09T10:59:23+00:00" + "time": "2022-06-03T18:03:27+00:00" }, { "name": "webmozart/path-util", diff --git a/src/CoreConstants.php b/src/CoreConstants.php index 46e00a2a3..7b0345b1c 100644 --- a/src/CoreConstants.php +++ b/src/CoreConstants.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/MemoryManager.php b/src/MemoryManager.php index 322086053..49a728c89 100644 --- a/src/MemoryManager.php +++ b/src/MemoryManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/Server.php b/src/Server.php index efc13c027..3128a7c39 100644 --- a/src/Server.php +++ b/src/Server.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); @@ -861,7 +861,7 @@ class Server{ $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_server_devBuild_error3())); $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_server_devBuild_error4("settings.enable-dev-builds"))); $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_server_devBuild_error5("https://github.com/pmmp/PocketMine-MP/releases"))); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } @@ -976,7 +976,7 @@ class Server{ $pluginGraylist = PluginGraylist::fromArray(yaml_parse(file_get_contents($graylistFile))); }catch(\InvalidArgumentException $e){ $this->logger->emergency("Failed to load $graylistFile: " . $e->getMessage()); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } $this->pluginManager = new PluginManager($this, $this->configGroup->getPropertyBool("plugins.legacy-data-dir", true) ? null : Path::join($this->getDataPath(), "plugin_data"), $pluginGraylist); @@ -1007,28 +1007,28 @@ class Server{ $this->pluginManager->loadPlugins($this->pluginPath, $loadErrorCount); if($loadErrorCount > 0){ $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_plugin_someLoadErrors())); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } if(!$this->enablePlugins(PluginEnableOrder::STARTUP())){ $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_plugin_someEnableErrors())); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } if(!$this->startupPrepareWorlds()){ - $this->forceShutdown(); + $this->forceShutdownExit(); return; } if(!$this->enablePlugins(PluginEnableOrder::POSTWORLD())){ $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_plugin_someEnableErrors())); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } if(!$this->startupPrepareNetworkInterfaces()){ - $this->forceShutdown(); + $this->forceShutdownExit(); return; } @@ -1456,6 +1456,11 @@ class Server{ } } + private function forceShutdownExit() : void{ + $this->forceShutdown(); + Process::kill(Process::pid(), true); + } + public function forceShutdown() : void{ if($this->hasStopped){ return; diff --git a/src/ServerConfigGroup.php b/src/ServerConfigGroup.php index 1c148b930..0a3b09c87 100644 --- a/src/ServerConfigGroup.php +++ b/src/ServerConfigGroup.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ActivatorRail.php b/src/block/ActivatorRail.php index d842be041..dcd0ef93b 100644 --- a/src/block/ActivatorRail.php +++ b/src/block/ActivatorRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Air.php b/src/block/Air.php index 624af39df..6023143f6 100644 --- a/src/block/Air.php +++ b/src/block/Air.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Anvil.php b/src/block/Anvil.php index d4f2e239e..785d59afd 100644 --- a/src/block/Anvil.php +++ b/src/block/Anvil.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bamboo.php b/src/block/Bamboo.php index 8f61b36eb..427b0b8e7 100644 --- a/src/block/Bamboo.php +++ b/src/block/Bamboo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BambooSapling.php b/src/block/BambooSapling.php index 8f847925d..a00361416 100644 --- a/src/block/BambooSapling.php +++ b/src/block/BambooSapling.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Barrel.php b/src/block/Barrel.php index a9d992abf..bcd8621ad 100644 --- a/src/block/Barrel.php +++ b/src/block/Barrel.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BaseBanner.php b/src/block/BaseBanner.php index 708254afd..2eeb42d74 100644 --- a/src/block/BaseBanner.php +++ b/src/block/BaseBanner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BaseCoral.php b/src/block/BaseCoral.php index 2fb217e19..f3bb9255d 100644 --- a/src/block/BaseCoral.php +++ b/src/block/BaseCoral.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BaseRail.php b/src/block/BaseRail.php index 0c91f735a..933763122 100644 --- a/src/block/BaseRail.php +++ b/src/block/BaseRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BaseSign.php b/src/block/BaseSign.php index e201a2d72..fec71e58d 100644 --- a/src/block/BaseSign.php +++ b/src/block/BaseSign.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Beacon.php b/src/block/Beacon.php index ef09968bb..5f2f42541 100644 --- a/src/block/Beacon.php +++ b/src/block/Beacon.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bed.php b/src/block/Bed.php index 48189b601..7ce2fa70b 100644 --- a/src/block/Bed.php +++ b/src/block/Bed.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bedrock.php b/src/block/Bedrock.php index e794e3958..3bb42560f 100644 --- a/src/block/Bedrock.php +++ b/src/block/Bedrock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Beetroot.php b/src/block/Beetroot.php index 8f8c25d3d..5afbe4412 100644 --- a/src/block/Beetroot.php +++ b/src/block/Beetroot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bell.php b/src/block/Bell.php index 19a86edef..c75d7d785 100644 --- a/src/block/Bell.php +++ b/src/block/Bell.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Block.php b/src/block/Block.php index c388dd58a..a7839e8ee 100644 --- a/src/block/Block.php +++ b/src/block/Block.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockBreakInfo.php b/src/block/BlockBreakInfo.php index 8954f6f51..a2d43efbc 100644 --- a/src/block/BlockBreakInfo.php +++ b/src/block/BlockBreakInfo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockFactory.php b/src/block/BlockFactory.php index fee183005..5f4676584 100644 --- a/src/block/BlockFactory.php +++ b/src/block/BlockFactory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockIdentifier.php b/src/block/BlockIdentifier.php index 8180a4e2e..664aab3d0 100644 --- a/src/block/BlockIdentifier.php +++ b/src/block/BlockIdentifier.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockIdentifierFlattened.php b/src/block/BlockIdentifierFlattened.php index 1eca84d52..3e390049e 100644 --- a/src/block/BlockIdentifierFlattened.php +++ b/src/block/BlockIdentifierFlattened.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockLegacyIdHelper.php b/src/block/BlockLegacyIdHelper.php index 945053824..50d6b86b4 100644 --- a/src/block/BlockLegacyIdHelper.php +++ b/src/block/BlockLegacyIdHelper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockLegacyIds.php b/src/block/BlockLegacyIds.php index c846c74fc..f4757e357 100644 --- a/src/block/BlockLegacyIds.php +++ b/src/block/BlockLegacyIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockLegacyMetadata.php b/src/block/BlockLegacyMetadata.php index 22085c427..d192a3c94 100644 --- a/src/block/BlockLegacyMetadata.php +++ b/src/block/BlockLegacyMetadata.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockToolType.php b/src/block/BlockToolType.php index 8e6c36cd7..99e56a81e 100644 --- a/src/block/BlockToolType.php +++ b/src/block/BlockToolType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlueIce.php b/src/block/BlueIce.php index bcd39d24c..f7e9a0404 100644 --- a/src/block/BlueIce.php +++ b/src/block/BlueIce.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BoneBlock.php b/src/block/BoneBlock.php index d00ab63f3..4c69e535f 100644 --- a/src/block/BoneBlock.php +++ b/src/block/BoneBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bookshelf.php b/src/block/Bookshelf.php index 2c4ec12a6..93f89a4cd 100644 --- a/src/block/Bookshelf.php +++ b/src/block/Bookshelf.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BrewingStand.php b/src/block/BrewingStand.php index be1f7858b..c1840502e 100644 --- a/src/block/BrewingStand.php +++ b/src/block/BrewingStand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BrownMushroom.php b/src/block/BrownMushroom.php index 47b3bc7e6..4312e427b 100644 --- a/src/block/BrownMushroom.php +++ b/src/block/BrownMushroom.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BrownMushroomBlock.php b/src/block/BrownMushroomBlock.php index 09b183491..e15fa04ef 100644 --- a/src/block/BrownMushroomBlock.php +++ b/src/block/BrownMushroomBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Button.php b/src/block/Button.php index fe85d52f9..967e0d4f0 100644 --- a/src/block/Button.php +++ b/src/block/Button.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Cactus.php b/src/block/Cactus.php index 5ed929db6..987bea144 100644 --- a/src/block/Cactus.php +++ b/src/block/Cactus.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Cake.php b/src/block/Cake.php index ebde23012..803f431b2 100644 --- a/src/block/Cake.php +++ b/src/block/Cake.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Carpet.php b/src/block/Carpet.php index 54a1b4abe..4d90d4e16 100644 --- a/src/block/Carpet.php +++ b/src/block/Carpet.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Carrot.php b/src/block/Carrot.php index 9b94fad78..c03d10737 100644 --- a/src/block/Carrot.php +++ b/src/block/Carrot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CarvedPumpkin.php b/src/block/CarvedPumpkin.php index d4513a08d..7c99c1531 100644 --- a/src/block/CarvedPumpkin.php +++ b/src/block/CarvedPumpkin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ChemicalHeat.php b/src/block/ChemicalHeat.php index 55cc7b9e0..a803a0e69 100644 --- a/src/block/ChemicalHeat.php +++ b/src/block/ChemicalHeat.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ChemistryTable.php b/src/block/ChemistryTable.php index 3ec37718f..fb2310dcd 100644 --- a/src/block/ChemistryTable.php +++ b/src/block/ChemistryTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Chest.php b/src/block/Chest.php index a65120d63..59c21e1b6 100644 --- a/src/block/Chest.php +++ b/src/block/Chest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Clay.php b/src/block/Clay.php index 8e86d4925..4bfe55151 100644 --- a/src/block/Clay.php +++ b/src/block/Clay.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Coal.php b/src/block/Coal.php index 821c422de..cf3156373 100644 --- a/src/block/Coal.php +++ b/src/block/Coal.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CoalOre.php b/src/block/CoalOre.php index 3c87560b1..47a0e255d 100644 --- a/src/block/CoalOre.php +++ b/src/block/CoalOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Cobweb.php b/src/block/Cobweb.php index 785db721d..8cd2de4d8 100644 --- a/src/block/Cobweb.php +++ b/src/block/Cobweb.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CocoaBlock.php b/src/block/CocoaBlock.php index 89a1e9d6e..8c01c29cc 100644 --- a/src/block/CocoaBlock.php +++ b/src/block/CocoaBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Concrete.php b/src/block/Concrete.php index 9feb5e093..7e16ee4f6 100644 --- a/src/block/Concrete.php +++ b/src/block/Concrete.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ConcretePowder.php b/src/block/ConcretePowder.php index 6503faf72..340c610b1 100644 --- a/src/block/ConcretePowder.php +++ b/src/block/ConcretePowder.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Coral.php b/src/block/Coral.php index 424639577..6bbd50b73 100644 --- a/src/block/Coral.php +++ b/src/block/Coral.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CoralBlock.php b/src/block/CoralBlock.php index f06172be5..e29591b3d 100644 --- a/src/block/CoralBlock.php +++ b/src/block/CoralBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CraftingTable.php b/src/block/CraftingTable.php index a35e13e5b..cc837d003 100644 --- a/src/block/CraftingTable.php +++ b/src/block/CraftingTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Crops.php b/src/block/Crops.php index 1979ce31f..d9aa005ea 100644 --- a/src/block/Crops.php +++ b/src/block/Crops.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DaylightSensor.php b/src/block/DaylightSensor.php index e51907c41..c13df4b6a 100644 --- a/src/block/DaylightSensor.php +++ b/src/block/DaylightSensor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DeadBush.php b/src/block/DeadBush.php index 7b5262b49..09754b07d 100644 --- a/src/block/DeadBush.php +++ b/src/block/DeadBush.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DetectorRail.php b/src/block/DetectorRail.php index 935fd0a04..e3eb0a486 100644 --- a/src/block/DetectorRail.php +++ b/src/block/DetectorRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DiamondOre.php b/src/block/DiamondOre.php index 2307d30c2..8407bdf15 100644 --- a/src/block/DiamondOre.php +++ b/src/block/DiamondOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Dirt.php b/src/block/Dirt.php index 390098216..8197f1415 100644 --- a/src/block/Dirt.php +++ b/src/block/Dirt.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Door.php b/src/block/Door.php index 164875df3..191a8fe0f 100644 --- a/src/block/Door.php +++ b/src/block/Door.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DoublePlant.php b/src/block/DoublePlant.php index 155a8e59d..5086891fc 100644 --- a/src/block/DoublePlant.php +++ b/src/block/DoublePlant.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DoubleTallGrass.php b/src/block/DoubleTallGrass.php index f3d98b265..fc37442f5 100644 --- a/src/block/DoubleTallGrass.php +++ b/src/block/DoubleTallGrass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DragonEgg.php b/src/block/DragonEgg.php index 2db6b7b92..db6512a9c 100644 --- a/src/block/DragonEgg.php +++ b/src/block/DragonEgg.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DriedKelp.php b/src/block/DriedKelp.php index b5a05efa5..e75826474 100644 --- a/src/block/DriedKelp.php +++ b/src/block/DriedKelp.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DyedShulkerBox.php b/src/block/DyedShulkerBox.php index 7c50cacd0..1e950c791 100644 --- a/src/block/DyedShulkerBox.php +++ b/src/block/DyedShulkerBox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Element.php b/src/block/Element.php index edeb80a78..8d6fb7985 100644 --- a/src/block/Element.php +++ b/src/block/Element.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EmeraldOre.php b/src/block/EmeraldOre.php index 09d8f3a5a..6e997223d 100644 --- a/src/block/EmeraldOre.php +++ b/src/block/EmeraldOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EnchantingTable.php b/src/block/EnchantingTable.php index b8a6458c2..b76147840 100644 --- a/src/block/EnchantingTable.php +++ b/src/block/EnchantingTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EndPortalFrame.php b/src/block/EndPortalFrame.php index a80b2cf2c..4f957da72 100644 --- a/src/block/EndPortalFrame.php +++ b/src/block/EndPortalFrame.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EndRod.php b/src/block/EndRod.php index 18fd438b5..d980b63af 100644 --- a/src/block/EndRod.php +++ b/src/block/EndRod.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EnderChest.php b/src/block/EnderChest.php index 486ba9a44..cf1ec0039 100644 --- a/src/block/EnderChest.php +++ b/src/block/EnderChest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Farmland.php b/src/block/Farmland.php index cdb7c816c..6e1ad13f0 100644 --- a/src/block/Farmland.php +++ b/src/block/Farmland.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Fence.php b/src/block/Fence.php index b1dff5b44..08c9b5eac 100644 --- a/src/block/Fence.php +++ b/src/block/Fence.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FenceGate.php b/src/block/FenceGate.php index 9dfe58847..fefd49b6c 100644 --- a/src/block/FenceGate.php +++ b/src/block/FenceGate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Fire.php b/src/block/Fire.php index b31151c37..b599f65ae 100644 --- a/src/block/Fire.php +++ b/src/block/Fire.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FletchingTable.php b/src/block/FletchingTable.php index 64a71ad97..1808f60bc 100644 --- a/src/block/FletchingTable.php +++ b/src/block/FletchingTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FloorBanner.php b/src/block/FloorBanner.php index 466bce5cb..d2ac152af 100644 --- a/src/block/FloorBanner.php +++ b/src/block/FloorBanner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FloorCoralFan.php b/src/block/FloorCoralFan.php index 9a36f52c9..8572adf73 100644 --- a/src/block/FloorCoralFan.php +++ b/src/block/FloorCoralFan.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FloorSign.php b/src/block/FloorSign.php index 7ee4880dd..13e4a6c9d 100644 --- a/src/block/FloorSign.php +++ b/src/block/FloorSign.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Flowable.php b/src/block/Flowable.php index b8609b6d0..c3d6f3eb5 100644 --- a/src/block/Flowable.php +++ b/src/block/Flowable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Flower.php b/src/block/Flower.php index ff2d0344b..31179c882 100644 --- a/src/block/Flower.php +++ b/src/block/Flower.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FlowerPot.php b/src/block/FlowerPot.php index 0c54763af..a60719675 100644 --- a/src/block/FlowerPot.php +++ b/src/block/FlowerPot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FrostedIce.php b/src/block/FrostedIce.php index c74dfc92c..065caf589 100644 --- a/src/block/FrostedIce.php +++ b/src/block/FrostedIce.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Furnace.php b/src/block/Furnace.php index ff96d0b27..f5a81c524 100644 --- a/src/block/Furnace.php +++ b/src/block/Furnace.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Glass.php b/src/block/Glass.php index dc1e2f9b8..17b440a04 100644 --- a/src/block/Glass.php +++ b/src/block/Glass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/GlassPane.php b/src/block/GlassPane.php index 06342541d..e871e0200 100644 --- a/src/block/GlassPane.php +++ b/src/block/GlassPane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/GlazedTerracotta.php b/src/block/GlazedTerracotta.php index 6cd41c8f8..1787e51ae 100644 --- a/src/block/GlazedTerracotta.php +++ b/src/block/GlazedTerracotta.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/GlowingObsidian.php b/src/block/GlowingObsidian.php index ff29363f5..016801525 100644 --- a/src/block/GlowingObsidian.php +++ b/src/block/GlowingObsidian.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Glowstone.php b/src/block/Glowstone.php index 38886405f..3b567aa5b 100644 --- a/src/block/Glowstone.php +++ b/src/block/Glowstone.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Grass.php b/src/block/Grass.php index 82d42c55f..d0ea0520d 100644 --- a/src/block/Grass.php +++ b/src/block/Grass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/GrassPath.php b/src/block/GrassPath.php index 4a46fe689..7cbb873ef 100644 --- a/src/block/GrassPath.php +++ b/src/block/GrassPath.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Gravel.php b/src/block/Gravel.php index 9cc7f3fea..856449ce0 100644 --- a/src/block/Gravel.php +++ b/src/block/Gravel.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/HardenedClay.php b/src/block/HardenedClay.php index d1bcbd472..0ccbc5409 100644 --- a/src/block/HardenedClay.php +++ b/src/block/HardenedClay.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/HardenedGlass.php b/src/block/HardenedGlass.php index f9bfdd086..9b0272237 100644 --- a/src/block/HardenedGlass.php +++ b/src/block/HardenedGlass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/HardenedGlassPane.php b/src/block/HardenedGlassPane.php index da6a60f53..1177d562a 100644 --- a/src/block/HardenedGlassPane.php +++ b/src/block/HardenedGlassPane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/HayBale.php b/src/block/HayBale.php index 92df9a5fb..e47598ac5 100644 --- a/src/block/HayBale.php +++ b/src/block/HayBale.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Hopper.php b/src/block/Hopper.php index d8fa67851..618862b9b 100644 --- a/src/block/Hopper.php +++ b/src/block/Hopper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Ice.php b/src/block/Ice.php index eb7d6a1df..7edbc2659 100644 --- a/src/block/Ice.php +++ b/src/block/Ice.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/InfestedStone.php b/src/block/InfestedStone.php index 944d0e456..93e0aa3d6 100644 --- a/src/block/InfestedStone.php +++ b/src/block/InfestedStone.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ItemFrame.php b/src/block/ItemFrame.php index 33b547eab..3e7a7378a 100644 --- a/src/block/ItemFrame.php +++ b/src/block/ItemFrame.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Jukebox.php b/src/block/Jukebox.php index be8fa7f4c..185426600 100644 --- a/src/block/Jukebox.php +++ b/src/block/Jukebox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Ladder.php b/src/block/Ladder.php index 7885bd13c..fcf2be061 100644 --- a/src/block/Ladder.php +++ b/src/block/Ladder.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Lantern.php b/src/block/Lantern.php index c17f1ecc9..0c2fb31ef 100644 --- a/src/block/Lantern.php +++ b/src/block/Lantern.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/LapisOre.php b/src/block/LapisOre.php index 7dd434c79..656b0a895 100644 --- a/src/block/LapisOre.php +++ b/src/block/LapisOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Lava.php b/src/block/Lava.php index 729393193..05e98e50b 100644 --- a/src/block/Lava.php +++ b/src/block/Lava.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Leaves.php b/src/block/Leaves.php index 8d00611c7..8e7298a0c 100644 --- a/src/block/Leaves.php +++ b/src/block/Leaves.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Lectern.php b/src/block/Lectern.php index 6e3e5bd21..e94c5c706 100644 --- a/src/block/Lectern.php +++ b/src/block/Lectern.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Lever.php b/src/block/Lever.php index bfbbd9409..c9dfe76bb 100644 --- a/src/block/Lever.php +++ b/src/block/Lever.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Liquid.php b/src/block/Liquid.php index 8aed66253..64018b9df 100644 --- a/src/block/Liquid.php +++ b/src/block/Liquid.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/LitPumpkin.php b/src/block/LitPumpkin.php index 5f555402a..5319fdac9 100644 --- a/src/block/LitPumpkin.php +++ b/src/block/LitPumpkin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Log.php b/src/block/Log.php index eacb817b5..b96a0d380 100644 --- a/src/block/Log.php +++ b/src/block/Log.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Loom.php b/src/block/Loom.php index 976eea46c..9c5f830f7 100644 --- a/src/block/Loom.php +++ b/src/block/Loom.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Magma.php b/src/block/Magma.php index fbff583aa..d2f309325 100644 --- a/src/block/Magma.php +++ b/src/block/Magma.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Melon.php b/src/block/Melon.php index 9536e5c85..6f4e62571 100644 --- a/src/block/Melon.php +++ b/src/block/Melon.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/MelonStem.php b/src/block/MelonStem.php index 0684786c0..d0282a546 100644 --- a/src/block/MelonStem.php +++ b/src/block/MelonStem.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/MonsterSpawner.php b/src/block/MonsterSpawner.php index 218dfcc3e..129da3394 100644 --- a/src/block/MonsterSpawner.php +++ b/src/block/MonsterSpawner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/MushroomStem.php b/src/block/MushroomStem.php index 5e61a5b1c..4e1db2903 100644 --- a/src/block/MushroomStem.php +++ b/src/block/MushroomStem.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Mycelium.php b/src/block/Mycelium.php index bd6611505..11d00c5d8 100644 --- a/src/block/Mycelium.php +++ b/src/block/Mycelium.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/NetherPortal.php b/src/block/NetherPortal.php index 22d3ca1d7..398b4c468 100644 --- a/src/block/NetherPortal.php +++ b/src/block/NetherPortal.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/NetherQuartzOre.php b/src/block/NetherQuartzOre.php index 0eb9365ad..c2ab20491 100644 --- a/src/block/NetherQuartzOre.php +++ b/src/block/NetherQuartzOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/NetherReactor.php b/src/block/NetherReactor.php index 96e5f0640..2c1ee1eb6 100644 --- a/src/block/NetherReactor.php +++ b/src/block/NetherReactor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/NetherWartPlant.php b/src/block/NetherWartPlant.php index 0a809c950..32478cae6 100644 --- a/src/block/NetherWartPlant.php +++ b/src/block/NetherWartPlant.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Netherrack.php b/src/block/Netherrack.php index e9fb51728..d60f5d20a 100644 --- a/src/block/Netherrack.php +++ b/src/block/Netherrack.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Note.php b/src/block/Note.php index 1dc24733a..8417ff8e8 100644 --- a/src/block/Note.php +++ b/src/block/Note.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Opaque.php b/src/block/Opaque.php index 19e16292e..43e4e95d6 100644 --- a/src/block/Opaque.php +++ b/src/block/Opaque.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/PackedIce.php b/src/block/PackedIce.php index e6d104f39..3b882659b 100644 --- a/src/block/PackedIce.php +++ b/src/block/PackedIce.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Planks.php b/src/block/Planks.php index b34046cdb..9f780694a 100644 --- a/src/block/Planks.php +++ b/src/block/Planks.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Podzol.php b/src/block/Podzol.php index 0eeba12c8..4eb720573 100644 --- a/src/block/Podzol.php +++ b/src/block/Podzol.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Potato.php b/src/block/Potato.php index af1443cae..209107156 100644 --- a/src/block/Potato.php +++ b/src/block/Potato.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/PoweredRail.php b/src/block/PoweredRail.php index 0c754d57f..25d6dc9e3 100644 --- a/src/block/PoweredRail.php +++ b/src/block/PoweredRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/PressurePlate.php b/src/block/PressurePlate.php index 172b05b6a..5610b4e1a 100644 --- a/src/block/PressurePlate.php +++ b/src/block/PressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Pumpkin.php b/src/block/Pumpkin.php index 835c68f31..2f374670e 100644 --- a/src/block/Pumpkin.php +++ b/src/block/Pumpkin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/PumpkinStem.php b/src/block/PumpkinStem.php index fd909a7db..d7b8e2588 100644 --- a/src/block/PumpkinStem.php +++ b/src/block/PumpkinStem.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Rail.php b/src/block/Rail.php index 9270b5fae..ea3feba48 100644 --- a/src/block/Rail.php +++ b/src/block/Rail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedMushroom.php b/src/block/RedMushroom.php index 567c36589..9be005d17 100644 --- a/src/block/RedMushroom.php +++ b/src/block/RedMushroom.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedMushroomBlock.php b/src/block/RedMushroomBlock.php index a41b031f5..820a0e5f8 100644 --- a/src/block/RedMushroomBlock.php +++ b/src/block/RedMushroomBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Redstone.php b/src/block/Redstone.php index c149650d7..6d4a7ad8f 100644 --- a/src/block/Redstone.php +++ b/src/block/Redstone.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneComparator.php b/src/block/RedstoneComparator.php index 311fed636..c7396d119 100644 --- a/src/block/RedstoneComparator.php +++ b/src/block/RedstoneComparator.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneLamp.php b/src/block/RedstoneLamp.php index b0f7bc9bc..5507881f5 100644 --- a/src/block/RedstoneLamp.php +++ b/src/block/RedstoneLamp.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneOre.php b/src/block/RedstoneOre.php index f402eacf8..1557634a8 100644 --- a/src/block/RedstoneOre.php +++ b/src/block/RedstoneOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneRepeater.php b/src/block/RedstoneRepeater.php index 114823ed7..2fbd0b259 100644 --- a/src/block/RedstoneRepeater.php +++ b/src/block/RedstoneRepeater.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneTorch.php b/src/block/RedstoneTorch.php index 43f6fbe64..b5de4898b 100644 --- a/src/block/RedstoneTorch.php +++ b/src/block/RedstoneTorch.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneWire.php b/src/block/RedstoneWire.php index 1c85694df..e744c1849 100644 --- a/src/block/RedstoneWire.php +++ b/src/block/RedstoneWire.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Reserved6.php b/src/block/Reserved6.php index e2c6922e2..a6766454e 100644 --- a/src/block/Reserved6.php +++ b/src/block/Reserved6.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Sand.php b/src/block/Sand.php index e64b73d22..17fc80a20 100644 --- a/src/block/Sand.php +++ b/src/block/Sand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Sapling.php b/src/block/Sapling.php index 9709032c5..fb67dbc46 100644 --- a/src/block/Sapling.php +++ b/src/block/Sapling.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SeaLantern.php b/src/block/SeaLantern.php index ffcf8e7aa..27ed73f0d 100644 --- a/src/block/SeaLantern.php +++ b/src/block/SeaLantern.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SeaPickle.php b/src/block/SeaPickle.php index b01d4d94e..39917aded 100644 --- a/src/block/SeaPickle.php +++ b/src/block/SeaPickle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ShulkerBox.php b/src/block/ShulkerBox.php index 672cc1a11..de8cefeb8 100644 --- a/src/block/ShulkerBox.php +++ b/src/block/ShulkerBox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SimplePillar.php b/src/block/SimplePillar.php index 50be03be5..72750e000 100644 --- a/src/block/SimplePillar.php +++ b/src/block/SimplePillar.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SimplePressurePlate.php b/src/block/SimplePressurePlate.php index 293106fd1..4ad9c5ce4 100644 --- a/src/block/SimplePressurePlate.php +++ b/src/block/SimplePressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Skull.php b/src/block/Skull.php index 84542635b..ee6ff1a76 100644 --- a/src/block/Skull.php +++ b/src/block/Skull.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Slab.php b/src/block/Slab.php index bb38ba6ca..f3b21a5b8 100644 --- a/src/block/Slab.php +++ b/src/block/Slab.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Slime.php b/src/block/Slime.php index 221221932..ac9518f6f 100644 --- a/src/block/Slime.php +++ b/src/block/Slime.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Snow.php b/src/block/Snow.php index eabe616ce..8ddde8c6f 100644 --- a/src/block/Snow.php +++ b/src/block/Snow.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SnowLayer.php b/src/block/SnowLayer.php index 0a90676b1..4e65b5eeb 100644 --- a/src/block/SnowLayer.php +++ b/src/block/SnowLayer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SoulSand.php b/src/block/SoulSand.php index 46ec341c7..2c6453b6c 100644 --- a/src/block/SoulSand.php +++ b/src/block/SoulSand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Sponge.php b/src/block/Sponge.php index 5ccf766ab..eb69c64c0 100644 --- a/src/block/Sponge.php +++ b/src/block/Sponge.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedGlass.php b/src/block/StainedGlass.php index 96f34f85d..422d38dde 100644 --- a/src/block/StainedGlass.php +++ b/src/block/StainedGlass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedGlassPane.php b/src/block/StainedGlassPane.php index 155e802e5..4514991db 100644 --- a/src/block/StainedGlassPane.php +++ b/src/block/StainedGlassPane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedHardenedClay.php b/src/block/StainedHardenedClay.php index f163c801d..8d07bc0a3 100644 --- a/src/block/StainedHardenedClay.php +++ b/src/block/StainedHardenedClay.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedHardenedGlass.php b/src/block/StainedHardenedGlass.php index 8c2711d9c..591384182 100644 --- a/src/block/StainedHardenedGlass.php +++ b/src/block/StainedHardenedGlass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedHardenedGlassPane.php b/src/block/StainedHardenedGlassPane.php index 05cb2632f..ea9f213d3 100644 --- a/src/block/StainedHardenedGlassPane.php +++ b/src/block/StainedHardenedGlassPane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Stair.php b/src/block/Stair.php index 437fd8e13..6ffc68be0 100644 --- a/src/block/Stair.php +++ b/src/block/Stair.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Stem.php b/src/block/Stem.php index c7fd444af..b17a5c646 100644 --- a/src/block/Stem.php +++ b/src/block/Stem.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StoneButton.php b/src/block/StoneButton.php index 110438b58..dad137899 100644 --- a/src/block/StoneButton.php +++ b/src/block/StoneButton.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StonePressurePlate.php b/src/block/StonePressurePlate.php index cd8bed86b..626e6d885 100644 --- a/src/block/StonePressurePlate.php +++ b/src/block/StonePressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Stonecutter.php b/src/block/Stonecutter.php index d37950e4f..e16b00236 100644 --- a/src/block/Stonecutter.php +++ b/src/block/Stonecutter.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StraightOnlyRail.php b/src/block/StraightOnlyRail.php index a4d620368..37c88012f 100644 --- a/src/block/StraightOnlyRail.php +++ b/src/block/StraightOnlyRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Sugarcane.php b/src/block/Sugarcane.php index b90efa77e..c2109645e 100644 --- a/src/block/Sugarcane.php +++ b/src/block/Sugarcane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SweetBerryBush.php b/src/block/SweetBerryBush.php index 2de41cd11..5f1163bc8 100644 --- a/src/block/SweetBerryBush.php +++ b/src/block/SweetBerryBush.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/TNT.php b/src/block/TNT.php index 5af0b5267..561e36e37 100644 --- a/src/block/TNT.php +++ b/src/block/TNT.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/TallGrass.php b/src/block/TallGrass.php index b77a828fe..586b15703 100644 --- a/src/block/TallGrass.php +++ b/src/block/TallGrass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Thin.php b/src/block/Thin.php index ba2fb0bd9..ad5824494 100644 --- a/src/block/Thin.php +++ b/src/block/Thin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Torch.php b/src/block/Torch.php index 03827df1d..ded081bcc 100644 --- a/src/block/Torch.php +++ b/src/block/Torch.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Transparent.php b/src/block/Transparent.php index 46fe7217a..b4489cebf 100644 --- a/src/block/Transparent.php +++ b/src/block/Transparent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Trapdoor.php b/src/block/Trapdoor.php index 64f92b62e..054737d74 100644 --- a/src/block/Trapdoor.php +++ b/src/block/Trapdoor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/TrappedChest.php b/src/block/TrappedChest.php index 72f8c7a97..2980a6b08 100644 --- a/src/block/TrappedChest.php +++ b/src/block/TrappedChest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Tripwire.php b/src/block/Tripwire.php index ef42dbc67..504ae68eb 100644 --- a/src/block/Tripwire.php +++ b/src/block/Tripwire.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/TripwireHook.php b/src/block/TripwireHook.php index a6f01fc9c..87490d732 100644 --- a/src/block/TripwireHook.php +++ b/src/block/TripwireHook.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/UnderwaterTorch.php b/src/block/UnderwaterTorch.php index a83a7c44a..5429f8526 100644 --- a/src/block/UnderwaterTorch.php +++ b/src/block/UnderwaterTorch.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/UnknownBlock.php b/src/block/UnknownBlock.php index b13ecb48b..81a2af259 100644 --- a/src/block/UnknownBlock.php +++ b/src/block/UnknownBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/VanillaBlocks.php b/src/block/VanillaBlocks.php index f21e5794c..ec3c5a494 100644 --- a/src/block/VanillaBlocks.php +++ b/src/block/VanillaBlocks.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Vine.php b/src/block/Vine.php index 16f684846..947013ebd 100644 --- a/src/block/Vine.php +++ b/src/block/Vine.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Wall.php b/src/block/Wall.php index 0ce74d0b0..6860337b9 100644 --- a/src/block/Wall.php +++ b/src/block/Wall.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WallBanner.php b/src/block/WallBanner.php index 1c807461b..c8c218256 100644 --- a/src/block/WallBanner.php +++ b/src/block/WallBanner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WallCoralFan.php b/src/block/WallCoralFan.php index ac158453f..ee0dcc35a 100644 --- a/src/block/WallCoralFan.php +++ b/src/block/WallCoralFan.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WallSign.php b/src/block/WallSign.php index 38a626433..014ad4db0 100644 --- a/src/block/WallSign.php +++ b/src/block/WallSign.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Water.php b/src/block/Water.php index ff638a8f9..b711ab5a1 100644 --- a/src/block/Water.php +++ b/src/block/Water.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WaterLily.php b/src/block/WaterLily.php index 9cb5396b8..39b3c8cee 100644 --- a/src/block/WaterLily.php +++ b/src/block/WaterLily.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WeightedPressurePlate.php b/src/block/WeightedPressurePlate.php index fa613dac7..3fce83b1c 100644 --- a/src/block/WeightedPressurePlate.php +++ b/src/block/WeightedPressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WeightedPressurePlateHeavy.php b/src/block/WeightedPressurePlateHeavy.php index acc8068d9..390297436 100644 --- a/src/block/WeightedPressurePlateHeavy.php +++ b/src/block/WeightedPressurePlateHeavy.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WeightedPressurePlateLight.php b/src/block/WeightedPressurePlateLight.php index 877211f62..458c07e1a 100644 --- a/src/block/WeightedPressurePlateLight.php +++ b/src/block/WeightedPressurePlateLight.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Wheat.php b/src/block/Wheat.php index 8dabf8c00..ccccd015a 100644 --- a/src/block/Wheat.php +++ b/src/block/Wheat.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Wood.php b/src/block/Wood.php index f6d1c30fd..a71f490fa 100644 --- a/src/block/Wood.php +++ b/src/block/Wood.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenButton.php b/src/block/WoodenButton.php index 44f4f867b..3116840b2 100644 --- a/src/block/WoodenButton.php +++ b/src/block/WoodenButton.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenDoor.php b/src/block/WoodenDoor.php index af6c7b25f..c77253e69 100644 --- a/src/block/WoodenDoor.php +++ b/src/block/WoodenDoor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenFence.php b/src/block/WoodenFence.php index b128eca0f..a84abef5f 100644 --- a/src/block/WoodenFence.php +++ b/src/block/WoodenFence.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenPressurePlate.php b/src/block/WoodenPressurePlate.php index 99e48c332..163789b2f 100644 --- a/src/block/WoodenPressurePlate.php +++ b/src/block/WoodenPressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenSlab.php b/src/block/WoodenSlab.php index 91ec0f117..f1fc42b66 100644 --- a/src/block/WoodenSlab.php +++ b/src/block/WoodenSlab.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenStairs.php b/src/block/WoodenStairs.php index 4d9009869..9c2f16a15 100644 --- a/src/block/WoodenStairs.php +++ b/src/block/WoodenStairs.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenTrapdoor.php b/src/block/WoodenTrapdoor.php index 7f0724452..83b3fb6c8 100644 --- a/src/block/WoodenTrapdoor.php +++ b/src/block/WoodenTrapdoor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Wool.php b/src/block/Wool.php index 8dd0f28a3..993f0a038 100644 --- a/src/block/Wool.php +++ b/src/block/Wool.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/AnimatedBlockInventoryTrait.php b/src/block/inventory/AnimatedBlockInventoryTrait.php index c80fced3a..a9965190c 100644 --- a/src/block/inventory/AnimatedBlockInventoryTrait.php +++ b/src/block/inventory/AnimatedBlockInventoryTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/AnvilInventory.php b/src/block/inventory/AnvilInventory.php index 1def8f913..7d906a632 100644 --- a/src/block/inventory/AnvilInventory.php +++ b/src/block/inventory/AnvilInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/BarrelInventory.php b/src/block/inventory/BarrelInventory.php index fe2662e30..7de83bb03 100644 --- a/src/block/inventory/BarrelInventory.php +++ b/src/block/inventory/BarrelInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/BlockInventory.php b/src/block/inventory/BlockInventory.php index 7712688c1..063a451a9 100644 --- a/src/block/inventory/BlockInventory.php +++ b/src/block/inventory/BlockInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/BlockInventoryTrait.php b/src/block/inventory/BlockInventoryTrait.php index 887e428ad..980e947f0 100644 --- a/src/block/inventory/BlockInventoryTrait.php +++ b/src/block/inventory/BlockInventoryTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/BrewingStandInventory.php b/src/block/inventory/BrewingStandInventory.php index 0faf4b672..8bab4ba97 100644 --- a/src/block/inventory/BrewingStandInventory.php +++ b/src/block/inventory/BrewingStandInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/ChestInventory.php b/src/block/inventory/ChestInventory.php index b7594b232..b61fab57c 100644 --- a/src/block/inventory/ChestInventory.php +++ b/src/block/inventory/ChestInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/CraftingTableInventory.php b/src/block/inventory/CraftingTableInventory.php index 3659a1f5d..767e8a5f4 100644 --- a/src/block/inventory/CraftingTableInventory.php +++ b/src/block/inventory/CraftingTableInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/DoubleChestInventory.php b/src/block/inventory/DoubleChestInventory.php index b26425eab..92c75ef9f 100644 --- a/src/block/inventory/DoubleChestInventory.php +++ b/src/block/inventory/DoubleChestInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/EnchantInventory.php b/src/block/inventory/EnchantInventory.php index 91bfcab5e..2c682d134 100644 --- a/src/block/inventory/EnchantInventory.php +++ b/src/block/inventory/EnchantInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/EnderChestInventory.php b/src/block/inventory/EnderChestInventory.php index bde83a169..c1d7c5401 100644 --- a/src/block/inventory/EnderChestInventory.php +++ b/src/block/inventory/EnderChestInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/FurnaceInventory.php b/src/block/inventory/FurnaceInventory.php index afbbfa502..ff44d6b70 100644 --- a/src/block/inventory/FurnaceInventory.php +++ b/src/block/inventory/FurnaceInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/HopperInventory.php b/src/block/inventory/HopperInventory.php index eb75244c3..a20e9ae1a 100644 --- a/src/block/inventory/HopperInventory.php +++ b/src/block/inventory/HopperInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/LoomInventory.php b/src/block/inventory/LoomInventory.php index 27a8f2dbc..fd34620a0 100644 --- a/src/block/inventory/LoomInventory.php +++ b/src/block/inventory/LoomInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/ShulkerBoxInventory.php b/src/block/inventory/ShulkerBoxInventory.php index 648a0b05f..a61e37198 100644 --- a/src/block/inventory/ShulkerBoxInventory.php +++ b/src/block/inventory/ShulkerBoxInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/StonecutterInventory.php b/src/block/inventory/StonecutterInventory.php index 0dca32502..4ed644ff2 100644 --- a/src/block/inventory/StonecutterInventory.php +++ b/src/block/inventory/StonecutterInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Banner.php b/src/block/tile/Banner.php index 4d2550f4d..0af4b2e79 100644 --- a/src/block/tile/Banner.php +++ b/src/block/tile/Banner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Barrel.php b/src/block/tile/Barrel.php index 68491cd08..4a1119a8b 100644 --- a/src/block/tile/Barrel.php +++ b/src/block/tile/Barrel.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Beacon.php b/src/block/tile/Beacon.php index 42c24cd38..db0aabb36 100644 --- a/src/block/tile/Beacon.php +++ b/src/block/tile/Beacon.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Bed.php b/src/block/tile/Bed.php index 49ac07202..847bcca1f 100644 --- a/src/block/tile/Bed.php +++ b/src/block/tile/Bed.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Bell.php b/src/block/tile/Bell.php index bc2ab29fe..64707c02d 100644 --- a/src/block/tile/Bell.php +++ b/src/block/tile/Bell.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/BlastFurnace.php b/src/block/tile/BlastFurnace.php index ded48d710..e6e23c88c 100644 --- a/src/block/tile/BlastFurnace.php +++ b/src/block/tile/BlastFurnace.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/BrewingStand.php b/src/block/tile/BrewingStand.php index a75b4d9f1..6f77e9e34 100644 --- a/src/block/tile/BrewingStand.php +++ b/src/block/tile/BrewingStand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Chest.php b/src/block/tile/Chest.php index 1f49a2ddb..287b05d91 100644 --- a/src/block/tile/Chest.php +++ b/src/block/tile/Chest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Comparator.php b/src/block/tile/Comparator.php index 317a682f4..f0a286bab 100644 --- a/src/block/tile/Comparator.php +++ b/src/block/tile/Comparator.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Container.php b/src/block/tile/Container.php index b549ad137..d9dde11f6 100644 --- a/src/block/tile/Container.php +++ b/src/block/tile/Container.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/ContainerTrait.php b/src/block/tile/ContainerTrait.php index ba8ab084a..43107cd6a 100644 --- a/src/block/tile/ContainerTrait.php +++ b/src/block/tile/ContainerTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/DaylightSensor.php b/src/block/tile/DaylightSensor.php index 8776d1ca5..642f07d83 100644 --- a/src/block/tile/DaylightSensor.php +++ b/src/block/tile/DaylightSensor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/EnchantTable.php b/src/block/tile/EnchantTable.php index 8e56166be..1113e435b 100644 --- a/src/block/tile/EnchantTable.php +++ b/src/block/tile/EnchantTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/EnderChest.php b/src/block/tile/EnderChest.php index 30bedd936..4ba5269d8 100644 --- a/src/block/tile/EnderChest.php +++ b/src/block/tile/EnderChest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/FlowerPot.php b/src/block/tile/FlowerPot.php index 294e4fe41..b8d9a36a3 100644 --- a/src/block/tile/FlowerPot.php +++ b/src/block/tile/FlowerPot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Furnace.php b/src/block/tile/Furnace.php index 806c53a07..e26e9006e 100644 --- a/src/block/tile/Furnace.php +++ b/src/block/tile/Furnace.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Hopper.php b/src/block/tile/Hopper.php index c5fe6f167..02b5193ee 100644 --- a/src/block/tile/Hopper.php +++ b/src/block/tile/Hopper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/ItemFrame.php b/src/block/tile/ItemFrame.php index ecb93acc1..d05c8fedc 100644 --- a/src/block/tile/ItemFrame.php +++ b/src/block/tile/ItemFrame.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Jukebox.php b/src/block/tile/Jukebox.php index eb8041258..3154c6a07 100644 --- a/src/block/tile/Jukebox.php +++ b/src/block/tile/Jukebox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Lectern.php b/src/block/tile/Lectern.php index 00e4a1072..28be8904e 100644 --- a/src/block/tile/Lectern.php +++ b/src/block/tile/Lectern.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/MonsterSpawner.php b/src/block/tile/MonsterSpawner.php index 040d6a3ee..b09953567 100644 --- a/src/block/tile/MonsterSpawner.php +++ b/src/block/tile/MonsterSpawner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Nameable.php b/src/block/tile/Nameable.php index 2d206ffc2..2461919d4 100644 --- a/src/block/tile/Nameable.php +++ b/src/block/tile/Nameable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/NameableTrait.php b/src/block/tile/NameableTrait.php index 4a43e8aef..955d58132 100644 --- a/src/block/tile/NameableTrait.php +++ b/src/block/tile/NameableTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/NormalFurnace.php b/src/block/tile/NormalFurnace.php index c5c17e5e5..9580920e2 100644 --- a/src/block/tile/NormalFurnace.php +++ b/src/block/tile/NormalFurnace.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Note.php b/src/block/tile/Note.php index bf597607c..537c97e98 100644 --- a/src/block/tile/Note.php +++ b/src/block/tile/Note.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/ShulkerBox.php b/src/block/tile/ShulkerBox.php index fb740c566..693da26d9 100644 --- a/src/block/tile/ShulkerBox.php +++ b/src/block/tile/ShulkerBox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Sign.php b/src/block/tile/Sign.php index 38cad085f..3922e1866 100644 --- a/src/block/tile/Sign.php +++ b/src/block/tile/Sign.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Skull.php b/src/block/tile/Skull.php index 30dd164c0..92ca7af69 100644 --- a/src/block/tile/Skull.php +++ b/src/block/tile/Skull.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Smoker.php b/src/block/tile/Smoker.php index 7edb5b49e..4b5a01733 100644 --- a/src/block/tile/Smoker.php +++ b/src/block/tile/Smoker.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Spawnable.php b/src/block/tile/Spawnable.php index b48f8a0f7..73ad2142a 100644 --- a/src/block/tile/Spawnable.php +++ b/src/block/tile/Spawnable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Tile.php b/src/block/tile/Tile.php index 00ff1bed6..9a2f443b1 100644 --- a/src/block/tile/Tile.php +++ b/src/block/tile/Tile.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/TileFactory.php b/src/block/tile/TileFactory.php index f2cc53045..99ace99bd 100644 --- a/src/block/tile/TileFactory.php +++ b/src/block/tile/TileFactory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/AnalogRedstoneSignalEmitterTrait.php b/src/block/utils/AnalogRedstoneSignalEmitterTrait.php index 2d5609a98..5fb4a3da1 100644 --- a/src/block/utils/AnalogRedstoneSignalEmitterTrait.php +++ b/src/block/utils/AnalogRedstoneSignalEmitterTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/AnyFacingTrait.php b/src/block/utils/AnyFacingTrait.php index 751e67378..3a4e03eb2 100644 --- a/src/block/utils/AnyFacingTrait.php +++ b/src/block/utils/AnyFacingTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BannerPatternLayer.php b/src/block/utils/BannerPatternLayer.php index 00ba8caec..0a3b5a94c 100644 --- a/src/block/utils/BannerPatternLayer.php +++ b/src/block/utils/BannerPatternLayer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BannerPatternType.php b/src/block/utils/BannerPatternType.php index 5ede3d92b..85b064059 100644 --- a/src/block/utils/BannerPatternType.php +++ b/src/block/utils/BannerPatternType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BellAttachmentType.php b/src/block/utils/BellAttachmentType.php index dc80e0c19..963257031 100644 --- a/src/block/utils/BellAttachmentType.php +++ b/src/block/utils/BellAttachmentType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BlockDataSerializer.php b/src/block/utils/BlockDataSerializer.php index 4bf5e9b75..1d7ae28fa 100644 --- a/src/block/utils/BlockDataSerializer.php +++ b/src/block/utils/BlockDataSerializer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BrewingStandSlot.php b/src/block/utils/BrewingStandSlot.php index 37182693e..faeeaa7c4 100644 --- a/src/block/utils/BrewingStandSlot.php +++ b/src/block/utils/BrewingStandSlot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/ColorInMetadataTrait.php b/src/block/utils/ColorInMetadataTrait.php index 1130ae27c..232db837f 100644 --- a/src/block/utils/ColorInMetadataTrait.php +++ b/src/block/utils/ColorInMetadataTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/ColoredTrait.php b/src/block/utils/ColoredTrait.php index 922245f9f..3ed323ca3 100644 --- a/src/block/utils/ColoredTrait.php +++ b/src/block/utils/ColoredTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/CoralType.php b/src/block/utils/CoralType.php index 2006d3799..5a4d88fa9 100644 --- a/src/block/utils/CoralType.php +++ b/src/block/utils/CoralType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/CoralTypeTrait.php b/src/block/utils/CoralTypeTrait.php index 33a37bc55..afeac309c 100644 --- a/src/block/utils/CoralTypeTrait.php +++ b/src/block/utils/CoralTypeTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/DyeColor.php b/src/block/utils/DyeColor.php index a1bb941a1..81c51618a 100644 --- a/src/block/utils/DyeColor.php +++ b/src/block/utils/DyeColor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/FacesOppositePlacingPlayerTrait.php b/src/block/utils/FacesOppositePlacingPlayerTrait.php index 1f566ca30..0bca482b5 100644 --- a/src/block/utils/FacesOppositePlacingPlayerTrait.php +++ b/src/block/utils/FacesOppositePlacingPlayerTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/Fallable.php b/src/block/utils/Fallable.php index 70ac23e68..2f191f1c2 100644 --- a/src/block/utils/Fallable.php +++ b/src/block/utils/Fallable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/FallableTrait.php b/src/block/utils/FallableTrait.php index 6afcc52bf..b1129191b 100644 --- a/src/block/utils/FallableTrait.php +++ b/src/block/utils/FallableTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/HorizontalFacingTrait.php b/src/block/utils/HorizontalFacingTrait.php index 54cac0cda..21f1cc007 100644 --- a/src/block/utils/HorizontalFacingTrait.php +++ b/src/block/utils/HorizontalFacingTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/InvalidBlockStateException.php b/src/block/utils/InvalidBlockStateException.php index 506b81dbb..f42581340 100644 --- a/src/block/utils/InvalidBlockStateException.php +++ b/src/block/utils/InvalidBlockStateException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/LeverFacing.php b/src/block/utils/LeverFacing.php index fbc83c880..99eeb88d3 100644 --- a/src/block/utils/LeverFacing.php +++ b/src/block/utils/LeverFacing.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/MinimumCostFlowCalculator.php b/src/block/utils/MinimumCostFlowCalculator.php index e299caaa3..84b003bbd 100644 --- a/src/block/utils/MinimumCostFlowCalculator.php +++ b/src/block/utils/MinimumCostFlowCalculator.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/MushroomBlockType.php b/src/block/utils/MushroomBlockType.php index 33b04831d..7f001d13d 100644 --- a/src/block/utils/MushroomBlockType.php +++ b/src/block/utils/MushroomBlockType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/NormalHorizontalFacingInMetadataTrait.php b/src/block/utils/NormalHorizontalFacingInMetadataTrait.php index 79bb7ac9f..f41efd98a 100644 --- a/src/block/utils/NormalHorizontalFacingInMetadataTrait.php +++ b/src/block/utils/NormalHorizontalFacingInMetadataTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/PillarRotationInMetadataTrait.php b/src/block/utils/PillarRotationInMetadataTrait.php index 42adf7120..229ed9d0b 100644 --- a/src/block/utils/PillarRotationInMetadataTrait.php +++ b/src/block/utils/PillarRotationInMetadataTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/PillarRotationTrait.php b/src/block/utils/PillarRotationTrait.php index 806782db8..694b50424 100644 --- a/src/block/utils/PillarRotationTrait.php +++ b/src/block/utils/PillarRotationTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/PoweredByRedstoneTrait.php b/src/block/utils/PoweredByRedstoneTrait.php index 683437a4f..7e4f45a57 100644 --- a/src/block/utils/PoweredByRedstoneTrait.php +++ b/src/block/utils/PoweredByRedstoneTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/RailConnectionInfo.php b/src/block/utils/RailConnectionInfo.php index 324ee3cfb..c12c53b31 100644 --- a/src/block/utils/RailConnectionInfo.php +++ b/src/block/utils/RailConnectionInfo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/RailPoweredByRedstoneTrait.php b/src/block/utils/RailPoweredByRedstoneTrait.php index f0549429f..044dd7a49 100644 --- a/src/block/utils/RailPoweredByRedstoneTrait.php +++ b/src/block/utils/RailPoweredByRedstoneTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/RecordType.php b/src/block/utils/RecordType.php index e6692a511..f58f9fd60 100644 --- a/src/block/utils/RecordType.php +++ b/src/block/utils/RecordType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SignLikeRotationTrait.php b/src/block/utils/SignLikeRotationTrait.php index fd09a824f..d9b156895 100644 --- a/src/block/utils/SignLikeRotationTrait.php +++ b/src/block/utils/SignLikeRotationTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SignText.php b/src/block/utils/SignText.php index dd7221ac2..6f3cb69dd 100644 --- a/src/block/utils/SignText.php +++ b/src/block/utils/SignText.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SkullType.php b/src/block/utils/SkullType.php index 6ec6341c0..c2031cde3 100644 --- a/src/block/utils/SkullType.php +++ b/src/block/utils/SkullType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SlabType.php b/src/block/utils/SlabType.php index 26648481f..1da1b3e5a 100644 --- a/src/block/utils/SlabType.php +++ b/src/block/utils/SlabType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/StairShape.php b/src/block/utils/StairShape.php index dadd7d15e..c98aec8fb 100644 --- a/src/block/utils/StairShape.php +++ b/src/block/utils/StairShape.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SupportType.php b/src/block/utils/SupportType.php index d01646b55..b4480bf57 100644 --- a/src/block/utils/SupportType.php +++ b/src/block/utils/SupportType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/TreeType.php b/src/block/utils/TreeType.php index 60e796db2..b031e0e99 100644 --- a/src/block/utils/TreeType.php +++ b/src/block/utils/TreeType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/Command.php b/src/command/Command.php index 51e3ef51c..a85184777 100644 --- a/src/command/Command.php +++ b/src/command/Command.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/CommandExecutor.php b/src/command/CommandExecutor.php index fb989590d..138c4f22a 100644 --- a/src/command/CommandExecutor.php +++ b/src/command/CommandExecutor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/CommandMap.php b/src/command/CommandMap.php index 3be7850e6..a7cf64ca4 100644 --- a/src/command/CommandMap.php +++ b/src/command/CommandMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/CommandSender.php b/src/command/CommandSender.php index c16fdf042..5429b6f5e 100644 --- a/src/command/CommandSender.php +++ b/src/command/CommandSender.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/FormattedCommandAlias.php b/src/command/FormattedCommandAlias.php index 170b90ebe..21d2c0e70 100644 --- a/src/command/FormattedCommandAlias.php +++ b/src/command/FormattedCommandAlias.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); @@ -85,7 +85,7 @@ class FormattedCommandAlias extends Command{ $target->timings->startTiming(); try{ - $target->execute($sender, $commandLabel, $args); + $target->execute($sender, $commandLabel, $commandArgs); }catch(InvalidCommandSyntaxException $e){ $sender->sendMessage($sender->getLanguage()->translate(KnownTranslationFactory::commands_generic_usage($target->getUsage()))); }finally{ diff --git a/src/command/PluginCommand.php b/src/command/PluginCommand.php index 745b8b8b3..07b0999f0 100644 --- a/src/command/PluginCommand.php +++ b/src/command/PluginCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/SimpleCommandMap.php b/src/command/SimpleCommandMap.php index 548f16c39..5c33bf25a 100644 --- a/src/command/SimpleCommandMap.php +++ b/src/command/SimpleCommandMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/BanCommand.php b/src/command/defaults/BanCommand.php index 4b734303d..734159a20 100644 --- a/src/command/defaults/BanCommand.php +++ b/src/command/defaults/BanCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/BanIpCommand.php b/src/command/defaults/BanIpCommand.php index d6e1584b9..13c74888c 100644 --- a/src/command/defaults/BanIpCommand.php +++ b/src/command/defaults/BanIpCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/BanListCommand.php b/src/command/defaults/BanListCommand.php index f3bd20baa..5ec515a2b 100644 --- a/src/command/defaults/BanListCommand.php +++ b/src/command/defaults/BanListCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/ClearCommand.php b/src/command/defaults/ClearCommand.php index 237f3d108..7e4f81065 100644 --- a/src/command/defaults/ClearCommand.php +++ b/src/command/defaults/ClearCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/DefaultGamemodeCommand.php b/src/command/defaults/DefaultGamemodeCommand.php index 1f0b29aa3..860a7506d 100644 --- a/src/command/defaults/DefaultGamemodeCommand.php +++ b/src/command/defaults/DefaultGamemodeCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/DeopCommand.php b/src/command/defaults/DeopCommand.php index 9dbd0757c..a32d94108 100644 --- a/src/command/defaults/DeopCommand.php +++ b/src/command/defaults/DeopCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/DifficultyCommand.php b/src/command/defaults/DifficultyCommand.php index 7ccde43f0..b73204f56 100644 --- a/src/command/defaults/DifficultyCommand.php +++ b/src/command/defaults/DifficultyCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/DumpMemoryCommand.php b/src/command/defaults/DumpMemoryCommand.php index 6ce3d2967..83f177e01 100644 --- a/src/command/defaults/DumpMemoryCommand.php +++ b/src/command/defaults/DumpMemoryCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/EffectCommand.php b/src/command/defaults/EffectCommand.php index fe2db7d2d..159832bac 100644 --- a/src/command/defaults/EffectCommand.php +++ b/src/command/defaults/EffectCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/EnchantCommand.php b/src/command/defaults/EnchantCommand.php index 3e53a55fb..092ceb006 100644 --- a/src/command/defaults/EnchantCommand.php +++ b/src/command/defaults/EnchantCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/GamemodeCommand.php b/src/command/defaults/GamemodeCommand.php index 86658de6d..1363d34dc 100644 --- a/src/command/defaults/GamemodeCommand.php +++ b/src/command/defaults/GamemodeCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/GarbageCollectorCommand.php b/src/command/defaults/GarbageCollectorCommand.php index 2e85ed093..69875c7d5 100644 --- a/src/command/defaults/GarbageCollectorCommand.php +++ b/src/command/defaults/GarbageCollectorCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/GiveCommand.php b/src/command/defaults/GiveCommand.php index b883c1165..650a262d0 100644 --- a/src/command/defaults/GiveCommand.php +++ b/src/command/defaults/GiveCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/HelpCommand.php b/src/command/defaults/HelpCommand.php index d265957db..7fe12e039 100644 --- a/src/command/defaults/HelpCommand.php +++ b/src/command/defaults/HelpCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/KickCommand.php b/src/command/defaults/KickCommand.php index 7952c522e..3ccb2e527 100644 --- a/src/command/defaults/KickCommand.php +++ b/src/command/defaults/KickCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/KillCommand.php b/src/command/defaults/KillCommand.php index f425060e3..c041e0cbb 100644 --- a/src/command/defaults/KillCommand.php +++ b/src/command/defaults/KillCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/ListCommand.php b/src/command/defaults/ListCommand.php index c451877ae..5df3e1a91 100644 --- a/src/command/defaults/ListCommand.php +++ b/src/command/defaults/ListCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/MeCommand.php b/src/command/defaults/MeCommand.php index 904b39fe4..586d6cb39 100644 --- a/src/command/defaults/MeCommand.php +++ b/src/command/defaults/MeCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/OpCommand.php b/src/command/defaults/OpCommand.php index 4067eb3e7..53cbc7461 100644 --- a/src/command/defaults/OpCommand.php +++ b/src/command/defaults/OpCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/PardonCommand.php b/src/command/defaults/PardonCommand.php index 842cbe3ae..a1ea1e6ee 100644 --- a/src/command/defaults/PardonCommand.php +++ b/src/command/defaults/PardonCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/PardonIpCommand.php b/src/command/defaults/PardonIpCommand.php index f0b2c9aa5..d9a229354 100644 --- a/src/command/defaults/PardonIpCommand.php +++ b/src/command/defaults/PardonIpCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/ParticleCommand.php b/src/command/defaults/ParticleCommand.php index 072ca9dc8..1416ad0b3 100644 --- a/src/command/defaults/ParticleCommand.php +++ b/src/command/defaults/ParticleCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/PluginsCommand.php b/src/command/defaults/PluginsCommand.php index 2b4ef9ad6..e4c83354d 100644 --- a/src/command/defaults/PluginsCommand.php +++ b/src/command/defaults/PluginsCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SaveCommand.php b/src/command/defaults/SaveCommand.php index ae31cb18a..10d036d55 100644 --- a/src/command/defaults/SaveCommand.php +++ b/src/command/defaults/SaveCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SaveOffCommand.php b/src/command/defaults/SaveOffCommand.php index 223d81e64..b4d86d486 100644 --- a/src/command/defaults/SaveOffCommand.php +++ b/src/command/defaults/SaveOffCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SaveOnCommand.php b/src/command/defaults/SaveOnCommand.php index 0999181a9..20504122b 100644 --- a/src/command/defaults/SaveOnCommand.php +++ b/src/command/defaults/SaveOnCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SayCommand.php b/src/command/defaults/SayCommand.php index 29513280e..16e681553 100644 --- a/src/command/defaults/SayCommand.php +++ b/src/command/defaults/SayCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SeedCommand.php b/src/command/defaults/SeedCommand.php index 50e106145..e7345f8ba 100644 --- a/src/command/defaults/SeedCommand.php +++ b/src/command/defaults/SeedCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SetWorldSpawnCommand.php b/src/command/defaults/SetWorldSpawnCommand.php index 96582a349..0c0d46c11 100644 --- a/src/command/defaults/SetWorldSpawnCommand.php +++ b/src/command/defaults/SetWorldSpawnCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SpawnpointCommand.php b/src/command/defaults/SpawnpointCommand.php index a99d4a49e..b5932770a 100644 --- a/src/command/defaults/SpawnpointCommand.php +++ b/src/command/defaults/SpawnpointCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/StatusCommand.php b/src/command/defaults/StatusCommand.php index 05dfc7abf..7e5f9b544 100644 --- a/src/command/defaults/StatusCommand.php +++ b/src/command/defaults/StatusCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); @@ -103,7 +103,7 @@ class StatusCommand extends VanillaCommand{ $globalLimit = $server->getMemoryManager()->getGlobalMemoryLimit(); if($globalLimit > 0){ - $sender->sendMessage(TextFormat::GOLD . "Maximum memory (manager): " . TextFormat::RED . number_format(round($globalLimit, 2), 2) . " MB."); + $sender->sendMessage(TextFormat::GOLD . "Maximum memory (manager): " . TextFormat::RED . number_format(round(($globalLimit / 1024) / 1024, 2), 2) . " MB."); } foreach($server->getWorldManager()->getWorlds() as $world){ diff --git a/src/command/defaults/StopCommand.php b/src/command/defaults/StopCommand.php index 256208714..664fa3657 100644 --- a/src/command/defaults/StopCommand.php +++ b/src/command/defaults/StopCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TeleportCommand.php b/src/command/defaults/TeleportCommand.php index 4748dc2d3..618ae10a2 100644 --- a/src/command/defaults/TeleportCommand.php +++ b/src/command/defaults/TeleportCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TellCommand.php b/src/command/defaults/TellCommand.php index 4e294af5b..bf36d255f 100644 --- a/src/command/defaults/TellCommand.php +++ b/src/command/defaults/TellCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TimeCommand.php b/src/command/defaults/TimeCommand.php index fcdd89dee..49edee2b8 100644 --- a/src/command/defaults/TimeCommand.php +++ b/src/command/defaults/TimeCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TimingsCommand.php b/src/command/defaults/TimingsCommand.php index 13c95b5bd..14fae62f5 100644 --- a/src/command/defaults/TimingsCommand.php +++ b/src/command/defaults/TimingsCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TitleCommand.php b/src/command/defaults/TitleCommand.php index 76e6f3b6e..19218799c 100644 --- a/src/command/defaults/TitleCommand.php +++ b/src/command/defaults/TitleCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TransferServerCommand.php b/src/command/defaults/TransferServerCommand.php index 4159a5b25..5d15c8258 100644 --- a/src/command/defaults/TransferServerCommand.php +++ b/src/command/defaults/TransferServerCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/VanillaCommand.php b/src/command/defaults/VanillaCommand.php index 7133597d8..fbc7225bc 100644 --- a/src/command/defaults/VanillaCommand.php +++ b/src/command/defaults/VanillaCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/VersionCommand.php b/src/command/defaults/VersionCommand.php index c5a09b98f..9fa670957 100644 --- a/src/command/defaults/VersionCommand.php +++ b/src/command/defaults/VersionCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/WhitelistCommand.php b/src/command/defaults/WhitelistCommand.php index 3f60f8efa..02fd65f23 100644 --- a/src/command/defaults/WhitelistCommand.php +++ b/src/command/defaults/WhitelistCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/utils/CommandException.php b/src/command/utils/CommandException.php index fa0b90d6a..f2efbde87 100644 --- a/src/command/utils/CommandException.php +++ b/src/command/utils/CommandException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/utils/CommandStringHelper.php b/src/command/utils/CommandStringHelper.php index 526f2d594..eacc5d3d8 100644 --- a/src/command/utils/CommandStringHelper.php +++ b/src/command/utils/CommandStringHelper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/utils/InvalidCommandSyntaxException.php b/src/command/utils/InvalidCommandSyntaxException.php index 03185dbcd..e372fb4e3 100644 --- a/src/command/utils/InvalidCommandSyntaxException.php +++ b/src/command/utils/InvalidCommandSyntaxException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/console/ConsoleCommandSender.php b/src/console/ConsoleCommandSender.php index e08a65706..30035ac3e 100644 --- a/src/console/ConsoleCommandSender.php +++ b/src/console/ConsoleCommandSender.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/console/ConsoleReader.php b/src/console/ConsoleReader.php index ac7b6f644..8a2032886 100644 --- a/src/console/ConsoleReader.php +++ b/src/console/ConsoleReader.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/console/ConsoleReaderChildProcess.php b/src/console/ConsoleReaderChildProcess.php index 509d0daca..5bf2ff71f 100644 --- a/src/console/ConsoleReaderChildProcess.php +++ b/src/console/ConsoleReaderChildProcess.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/console/ConsoleReaderThread.php b/src/console/ConsoleReaderThread.php index 3dfd3a8bb..eac19ef84 100644 --- a/src/console/ConsoleReaderThread.php +++ b/src/console/ConsoleReaderThread.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/BrewingRecipe.php b/src/crafting/BrewingRecipe.php index e903f0c3c..55c6f5584 100644 --- a/src/crafting/BrewingRecipe.php +++ b/src/crafting/BrewingRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/CraftingGrid.php b/src/crafting/CraftingGrid.php index 00f5a781b..a41b5e3a7 100644 --- a/src/crafting/CraftingGrid.php +++ b/src/crafting/CraftingGrid.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/CraftingManager.php b/src/crafting/CraftingManager.php index f9d28bf28..9eddb17a0 100644 --- a/src/crafting/CraftingManager.php +++ b/src/crafting/CraftingManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/CraftingManagerFromDataHelper.php b/src/crafting/CraftingManagerFromDataHelper.php index f38709ab5..05612e66d 100644 --- a/src/crafting/CraftingManagerFromDataHelper.php +++ b/src/crafting/CraftingManagerFromDataHelper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/CraftingRecipe.php b/src/crafting/CraftingRecipe.php index 44c387eff..8666235a8 100644 --- a/src/crafting/CraftingRecipe.php +++ b/src/crafting/CraftingRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/FurnaceRecipe.php b/src/crafting/FurnaceRecipe.php index 89d414e27..e719aa07b 100644 --- a/src/crafting/FurnaceRecipe.php +++ b/src/crafting/FurnaceRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/FurnaceRecipeManager.php b/src/crafting/FurnaceRecipeManager.php index 1f16f4707..779256ece 100644 --- a/src/crafting/FurnaceRecipeManager.php +++ b/src/crafting/FurnaceRecipeManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/FurnaceType.php b/src/crafting/FurnaceType.php index 079066b97..649ff4484 100644 --- a/src/crafting/FurnaceType.php +++ b/src/crafting/FurnaceType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/PotionContainerChangeRecipe.php b/src/crafting/PotionContainerChangeRecipe.php index 4f4ec2cde..da24050cb 100644 --- a/src/crafting/PotionContainerChangeRecipe.php +++ b/src/crafting/PotionContainerChangeRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/PotionTypeRecipe.php b/src/crafting/PotionTypeRecipe.php index aa1604d6f..4d450450e 100644 --- a/src/crafting/PotionTypeRecipe.php +++ b/src/crafting/PotionTypeRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/ShapedRecipe.php b/src/crafting/ShapedRecipe.php index 984d17a91..aa15eb4c5 100644 --- a/src/crafting/ShapedRecipe.php +++ b/src/crafting/ShapedRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/ShapelessRecipe.php b/src/crafting/ShapelessRecipe.php index 728e3022a..2c399fe04 100644 --- a/src/crafting/ShapelessRecipe.php +++ b/src/crafting/ShapelessRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/ShapelessRecipeType.php b/src/crafting/ShapelessRecipeType.php index 80341840a..e7d3242d5 100644 --- a/src/crafting/ShapelessRecipeType.php +++ b/src/crafting/ShapelessRecipeType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDump.php b/src/crash/CrashDump.php index c55d17f54..101e35201 100644 --- a/src/crash/CrashDump.php +++ b/src/crash/CrashDump.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDumpData.php b/src/crash/CrashDumpData.php index 295517b0a..264f67d67 100644 --- a/src/crash/CrashDumpData.php +++ b/src/crash/CrashDumpData.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDumpDataGeneral.php b/src/crash/CrashDumpDataGeneral.php index 0f7188364..a03d78897 100644 --- a/src/crash/CrashDumpDataGeneral.php +++ b/src/crash/CrashDumpDataGeneral.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDumpDataPluginEntry.php b/src/crash/CrashDumpDataPluginEntry.php index 661c56ca2..ec53059d8 100644 --- a/src/crash/CrashDumpDataPluginEntry.php +++ b/src/crash/CrashDumpDataPluginEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDumpRenderer.php b/src/crash/CrashDumpRenderer.php index fa1d77e73..2858f43ec 100644 --- a/src/crash/CrashDumpRenderer.php +++ b/src/crash/CrashDumpRenderer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/SavedDataLoadingException.php b/src/data/SavedDataLoadingException.php index 03dfa392b..879a6ecc3 100644 --- a/src/data/SavedDataLoadingException.php +++ b/src/data/SavedDataLoadingException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/BannerPatternTypeIdMap.php b/src/data/bedrock/BannerPatternTypeIdMap.php index 45f6488b8..293f8ec38 100644 --- a/src/data/bedrock/BannerPatternTypeIdMap.php +++ b/src/data/bedrock/BannerPatternTypeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/BiomeIds.php b/src/data/bedrock/BiomeIds.php index ffb0af8d7..ac9555278 100644 --- a/src/data/bedrock/BiomeIds.php +++ b/src/data/bedrock/BiomeIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/CompoundTypeIds.php b/src/data/bedrock/CompoundTypeIds.php index c4343a98f..62009d585 100644 --- a/src/data/bedrock/CompoundTypeIds.php +++ b/src/data/bedrock/CompoundTypeIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/CoralTypeIdMap.php b/src/data/bedrock/CoralTypeIdMap.php index 413b373ba..134c0053b 100644 --- a/src/data/bedrock/CoralTypeIdMap.php +++ b/src/data/bedrock/CoralTypeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/DyeColorIdMap.php b/src/data/bedrock/DyeColorIdMap.php index 9b59de009..112ffe937 100644 --- a/src/data/bedrock/DyeColorIdMap.php +++ b/src/data/bedrock/DyeColorIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EffectIdMap.php b/src/data/bedrock/EffectIdMap.php index f692a997f..23985fa12 100644 --- a/src/data/bedrock/EffectIdMap.php +++ b/src/data/bedrock/EffectIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EffectIds.php b/src/data/bedrock/EffectIds.php index a54000f7f..3acf56569 100644 --- a/src/data/bedrock/EffectIds.php +++ b/src/data/bedrock/EffectIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EnchantmentIdMap.php b/src/data/bedrock/EnchantmentIdMap.php index 7ad19c4e0..3206e6462 100644 --- a/src/data/bedrock/EnchantmentIdMap.php +++ b/src/data/bedrock/EnchantmentIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EnchantmentIds.php b/src/data/bedrock/EnchantmentIds.php index 51b076c11..19184f24b 100644 --- a/src/data/bedrock/EnchantmentIds.php +++ b/src/data/bedrock/EnchantmentIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EntityLegacyIds.php b/src/data/bedrock/EntityLegacyIds.php index 41ff259c3..8e60ef0e9 100644 --- a/src/data/bedrock/EntityLegacyIds.php +++ b/src/data/bedrock/EntityLegacyIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyBiomeIdToStringIdMap.php b/src/data/bedrock/LegacyBiomeIdToStringIdMap.php index c967c5cee..974792eba 100644 --- a/src/data/bedrock/LegacyBiomeIdToStringIdMap.php +++ b/src/data/bedrock/LegacyBiomeIdToStringIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyBlockIdToStringIdMap.php b/src/data/bedrock/LegacyBlockIdToStringIdMap.php index 5c52fa972..616c56bcf 100644 --- a/src/data/bedrock/LegacyBlockIdToStringIdMap.php +++ b/src/data/bedrock/LegacyBlockIdToStringIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyEntityIdToStringIdMap.php b/src/data/bedrock/LegacyEntityIdToStringIdMap.php index 23852b925..2e3e4aecc 100644 --- a/src/data/bedrock/LegacyEntityIdToStringIdMap.php +++ b/src/data/bedrock/LegacyEntityIdToStringIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyItemIdToStringIdMap.php b/src/data/bedrock/LegacyItemIdToStringIdMap.php index 86cd83bf8..85b6ff1bf 100644 --- a/src/data/bedrock/LegacyItemIdToStringIdMap.php +++ b/src/data/bedrock/LegacyItemIdToStringIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyToStringBidirectionalIdMap.php b/src/data/bedrock/LegacyToStringBidirectionalIdMap.php index 59961e32a..2ffe1b986 100644 --- a/src/data/bedrock/LegacyToStringBidirectionalIdMap.php +++ b/src/data/bedrock/LegacyToStringBidirectionalIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/MushroomBlockTypeIdMap.php b/src/data/bedrock/MushroomBlockTypeIdMap.php index f3bf8711b..1e288cb84 100644 --- a/src/data/bedrock/MushroomBlockTypeIdMap.php +++ b/src/data/bedrock/MushroomBlockTypeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/PotionTypeIdMap.php b/src/data/bedrock/PotionTypeIdMap.php index 4fcb9b693..eebab87e2 100644 --- a/src/data/bedrock/PotionTypeIdMap.php +++ b/src/data/bedrock/PotionTypeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/PotionTypeIds.php b/src/data/bedrock/PotionTypeIds.php index ebe51de54..aa69461ce 100644 --- a/src/data/bedrock/PotionTypeIds.php +++ b/src/data/bedrock/PotionTypeIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/java/GameModeIdMap.php b/src/data/java/GameModeIdMap.php index 5990a7286..348749b51 100644 --- a/src/data/java/GameModeIdMap.php +++ b/src/data/java/GameModeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Ageable.php b/src/entity/Ageable.php index bc74036d8..6372591e5 100644 --- a/src/entity/Ageable.php +++ b/src/entity/Ageable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Attribute.php b/src/entity/Attribute.php index 3f9bc7faf..5e27f92ab 100644 --- a/src/entity/Attribute.php +++ b/src/entity/Attribute.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/AttributeFactory.php b/src/entity/AttributeFactory.php index e8ae4ce99..6abfc1538 100644 --- a/src/entity/AttributeFactory.php +++ b/src/entity/AttributeFactory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/AttributeMap.php b/src/entity/AttributeMap.php index 9fc5f2acc..d73127d69 100644 --- a/src/entity/AttributeMap.php +++ b/src/entity/AttributeMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Consumable.php b/src/entity/Consumable.php index 650c1dd08..b5f89fcf1 100644 --- a/src/entity/Consumable.php +++ b/src/entity/Consumable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Entity.php b/src/entity/Entity.php index 7085a8827..68864b6bf 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/EntityDataHelper.php b/src/entity/EntityDataHelper.php index 607ea1c38..90e5e7733 100644 --- a/src/entity/EntityDataHelper.php +++ b/src/entity/EntityDataHelper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/EntityFactory.php b/src/entity/EntityFactory.php index 9da6a6a94..90b3f659f 100644 --- a/src/entity/EntityFactory.php +++ b/src/entity/EntityFactory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/EntitySizeInfo.php b/src/entity/EntitySizeInfo.php index d5ee1e697..bcb67705f 100644 --- a/src/entity/EntitySizeInfo.php +++ b/src/entity/EntitySizeInfo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/ExperienceManager.php b/src/entity/ExperienceManager.php index cb44b3ea1..b74b87192 100644 --- a/src/entity/ExperienceManager.php +++ b/src/entity/ExperienceManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Explosive.php b/src/entity/Explosive.php index 94922cb19..9c77c748f 100644 --- a/src/entity/Explosive.php +++ b/src/entity/Explosive.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/FoodSource.php b/src/entity/FoodSource.php index e30ece5d3..98478b4a1 100644 --- a/src/entity/FoodSource.php +++ b/src/entity/FoodSource.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Human.php b/src/entity/Human.php index ac105df30..6dd0264ad 100644 --- a/src/entity/Human.php +++ b/src/entity/Human.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/HungerManager.php b/src/entity/HungerManager.php index 51dc5afad..304dcd30b 100644 --- a/src/entity/HungerManager.php +++ b/src/entity/HungerManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/InvalidSkinException.php b/src/entity/InvalidSkinException.php index 43aef8f10..f81539906 100644 --- a/src/entity/InvalidSkinException.php +++ b/src/entity/InvalidSkinException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Living.php b/src/entity/Living.php index 74d38ef41..1d597715c 100644 --- a/src/entity/Living.php +++ b/src/entity/Living.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Location.php b/src/entity/Location.php index 2ebbb2661..c2c9bd27e 100644 --- a/src/entity/Location.php +++ b/src/entity/Location.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Skin.php b/src/entity/Skin.php index 96772ef84..f10d72fc3 100644 --- a/src/entity/Skin.php +++ b/src/entity/Skin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Squid.php b/src/entity/Squid.php index 5962ba1bb..9b2f5a903 100644 --- a/src/entity/Squid.php +++ b/src/entity/Squid.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Villager.php b/src/entity/Villager.php index 789517a87..208ac7c77 100644 --- a/src/entity/Villager.php +++ b/src/entity/Villager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/WaterAnimal.php b/src/entity/WaterAnimal.php index 5edae8ffd..04deadde8 100644 --- a/src/entity/WaterAnimal.php +++ b/src/entity/WaterAnimal.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Zombie.php b/src/entity/Zombie.php index 8cd3adb84..18fc2207e 100644 --- a/src/entity/Zombie.php +++ b/src/entity/Zombie.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/Animation.php b/src/entity/animation/Animation.php index 44dfa827b..ae020d310 100644 --- a/src/entity/animation/Animation.php +++ b/src/entity/animation/Animation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/ArmSwingAnimation.php b/src/entity/animation/ArmSwingAnimation.php index d35b5cd4d..b0638a8ba 100644 --- a/src/entity/animation/ArmSwingAnimation.php +++ b/src/entity/animation/ArmSwingAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/ArrowShakeAnimation.php b/src/entity/animation/ArrowShakeAnimation.php index 3c9481ae1..ab0a26599 100644 --- a/src/entity/animation/ArrowShakeAnimation.php +++ b/src/entity/animation/ArrowShakeAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/ConsumingItemAnimation.php b/src/entity/animation/ConsumingItemAnimation.php index 83ff1d5e7..b268f655c 100644 --- a/src/entity/animation/ConsumingItemAnimation.php +++ b/src/entity/animation/ConsumingItemAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/CriticalHitAnimation.php b/src/entity/animation/CriticalHitAnimation.php index 23a114093..756d99db0 100644 --- a/src/entity/animation/CriticalHitAnimation.php +++ b/src/entity/animation/CriticalHitAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/DeathAnimation.php b/src/entity/animation/DeathAnimation.php index 2ef72634b..35eec0f48 100644 --- a/src/entity/animation/DeathAnimation.php +++ b/src/entity/animation/DeathAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/HurtAnimation.php b/src/entity/animation/HurtAnimation.php index d179f2f96..3a47ca0b9 100644 --- a/src/entity/animation/HurtAnimation.php +++ b/src/entity/animation/HurtAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/ItemEntityStackSizeChangeAnimation.php b/src/entity/animation/ItemEntityStackSizeChangeAnimation.php index ecc943c8c..46efc1892 100644 --- a/src/entity/animation/ItemEntityStackSizeChangeAnimation.php +++ b/src/entity/animation/ItemEntityStackSizeChangeAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/RespawnAnimation.php b/src/entity/animation/RespawnAnimation.php index 89bd590e4..dab0ed2a0 100644 --- a/src/entity/animation/RespawnAnimation.php +++ b/src/entity/animation/RespawnAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/SquidInkCloudAnimation.php b/src/entity/animation/SquidInkCloudAnimation.php index 540875f38..798780bf0 100644 --- a/src/entity/animation/SquidInkCloudAnimation.php +++ b/src/entity/animation/SquidInkCloudAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/TotemUseAnimation.php b/src/entity/animation/TotemUseAnimation.php index d416e186d..7785a6c52 100644 --- a/src/entity/animation/TotemUseAnimation.php +++ b/src/entity/animation/TotemUseAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/AbsorptionEffect.php b/src/entity/effect/AbsorptionEffect.php index 0d7f60513..0dc690809 100644 --- a/src/entity/effect/AbsorptionEffect.php +++ b/src/entity/effect/AbsorptionEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/Effect.php b/src/entity/effect/Effect.php index 3d1bd4c7c..442028d4c 100644 --- a/src/entity/effect/Effect.php +++ b/src/entity/effect/Effect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/EffectInstance.php b/src/entity/effect/EffectInstance.php index 085d051fd..f948b1f39 100644 --- a/src/entity/effect/EffectInstance.php +++ b/src/entity/effect/EffectInstance.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/EffectManager.php b/src/entity/effect/EffectManager.php index 910a88921..81f25f185 100644 --- a/src/entity/effect/EffectManager.php +++ b/src/entity/effect/EffectManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/HealthBoostEffect.php b/src/entity/effect/HealthBoostEffect.php index c1d2439da..90c5ee680 100644 --- a/src/entity/effect/HealthBoostEffect.php +++ b/src/entity/effect/HealthBoostEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/HungerEffect.php b/src/entity/effect/HungerEffect.php index d5b7fbdc7..949b148bc 100644 --- a/src/entity/effect/HungerEffect.php +++ b/src/entity/effect/HungerEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/InstantDamageEffect.php b/src/entity/effect/InstantDamageEffect.php index 88a22b804..9461fd979 100644 --- a/src/entity/effect/InstantDamageEffect.php +++ b/src/entity/effect/InstantDamageEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/InstantEffect.php b/src/entity/effect/InstantEffect.php index ac5852e2f..e4349e8d6 100644 --- a/src/entity/effect/InstantEffect.php +++ b/src/entity/effect/InstantEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/InstantHealthEffect.php b/src/entity/effect/InstantHealthEffect.php index a591f237f..8cdc42f7d 100644 --- a/src/entity/effect/InstantHealthEffect.php +++ b/src/entity/effect/InstantHealthEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/InvisibilityEffect.php b/src/entity/effect/InvisibilityEffect.php index e17063067..d4c33dcd4 100644 --- a/src/entity/effect/InvisibilityEffect.php +++ b/src/entity/effect/InvisibilityEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/LevitationEffect.php b/src/entity/effect/LevitationEffect.php index 44e9caccd..9d1aa73c1 100644 --- a/src/entity/effect/LevitationEffect.php +++ b/src/entity/effect/LevitationEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/PoisonEffect.php b/src/entity/effect/PoisonEffect.php index 0047b3b6c..e1b903086 100644 --- a/src/entity/effect/PoisonEffect.php +++ b/src/entity/effect/PoisonEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/RegenerationEffect.php b/src/entity/effect/RegenerationEffect.php index ed5ca0f5f..28ba2b18b 100644 --- a/src/entity/effect/RegenerationEffect.php +++ b/src/entity/effect/RegenerationEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/SaturationEffect.php b/src/entity/effect/SaturationEffect.php index 638c78130..3e849e05c 100644 --- a/src/entity/effect/SaturationEffect.php +++ b/src/entity/effect/SaturationEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/SlownessEffect.php b/src/entity/effect/SlownessEffect.php index 6ab11bdbe..0bef535ec 100644 --- a/src/entity/effect/SlownessEffect.php +++ b/src/entity/effect/SlownessEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/SpeedEffect.php b/src/entity/effect/SpeedEffect.php index d84d3a6d6..8147592d0 100644 --- a/src/entity/effect/SpeedEffect.php +++ b/src/entity/effect/SpeedEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/StringToEffectParser.php b/src/entity/effect/StringToEffectParser.php index 2eb8731b9..5fa49027e 100644 --- a/src/entity/effect/StringToEffectParser.php +++ b/src/entity/effect/StringToEffectParser.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/VanillaEffects.php b/src/entity/effect/VanillaEffects.php index d382a9f60..249ce367c 100644 --- a/src/entity/effect/VanillaEffects.php +++ b/src/entity/effect/VanillaEffects.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/WitherEffect.php b/src/entity/effect/WitherEffect.php index 5c8d6d463..b96c4ca51 100644 --- a/src/entity/effect/WitherEffect.php +++ b/src/entity/effect/WitherEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/ExperienceOrb.php b/src/entity/object/ExperienceOrb.php index 274abf379..b3c0e221c 100644 --- a/src/entity/object/ExperienceOrb.php +++ b/src/entity/object/ExperienceOrb.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/FallingBlock.php b/src/entity/object/FallingBlock.php index cb2551349..5d3018d4b 100644 --- a/src/entity/object/FallingBlock.php +++ b/src/entity/object/FallingBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/ItemEntity.php b/src/entity/object/ItemEntity.php index 73d67a192..7556e843d 100644 --- a/src/entity/object/ItemEntity.php +++ b/src/entity/object/ItemEntity.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/Painting.php b/src/entity/object/Painting.php index ff59de043..1d82d9c04 100644 --- a/src/entity/object/Painting.php +++ b/src/entity/object/Painting.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/PaintingMotive.php b/src/entity/object/PaintingMotive.php index 28b52efe3..ecbc478a5 100644 --- a/src/entity/object/PaintingMotive.php +++ b/src/entity/object/PaintingMotive.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); @@ -30,6 +30,7 @@ class PaintingMotive{ protected static $motives = []; public static function init() : void{ + self::$initialized = true; foreach([ new PaintingMotive(1, 1, "Alban"), new PaintingMotive(1, 1, "Aztec"), @@ -67,10 +68,16 @@ class PaintingMotive{ } public static function registerMotive(PaintingMotive $motive) : void{ + if(!self::$initialized){ + self::init(); + } self::$motives[$motive->getName()] = $motive; } public static function getMotiveByName(string $name) : ?PaintingMotive{ + if(!self::$initialized){ + self::init(); + } return self::$motives[$name] ?? null; } diff --git a/src/entity/object/PrimedTNT.php b/src/entity/object/PrimedTNT.php index 70d58dafa..dd40cd94f 100644 --- a/src/entity/object/PrimedTNT.php +++ b/src/entity/object/PrimedTNT.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Arrow.php b/src/entity/projectile/Arrow.php index 47924c8cb..2ec412545 100644 --- a/src/entity/projectile/Arrow.php +++ b/src/entity/projectile/Arrow.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Egg.php b/src/entity/projectile/Egg.php index c12af4731..9c3826714 100644 --- a/src/entity/projectile/Egg.php +++ b/src/entity/projectile/Egg.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/EnderPearl.php b/src/entity/projectile/EnderPearl.php index 2714ab81d..1f92ee8d9 100644 --- a/src/entity/projectile/EnderPearl.php +++ b/src/entity/projectile/EnderPearl.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/ExperienceBottle.php b/src/entity/projectile/ExperienceBottle.php index eb69b0edf..c32af48a9 100644 --- a/src/entity/projectile/ExperienceBottle.php +++ b/src/entity/projectile/ExperienceBottle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Projectile.php b/src/entity/projectile/Projectile.php index 1f652bda4..0d6fe2a35 100644 --- a/src/entity/projectile/Projectile.php +++ b/src/entity/projectile/Projectile.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/ProjectileSource.php b/src/entity/projectile/ProjectileSource.php index e74cafad9..09d115608 100644 --- a/src/entity/projectile/ProjectileSource.php +++ b/src/entity/projectile/ProjectileSource.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Snowball.php b/src/entity/projectile/Snowball.php index 54c18b6e3..cf9d7c689 100644 --- a/src/entity/projectile/Snowball.php +++ b/src/entity/projectile/Snowball.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/SplashPotion.php b/src/entity/projectile/SplashPotion.php index 364ded7c2..f9cee30a9 100644 --- a/src/entity/projectile/SplashPotion.php +++ b/src/entity/projectile/SplashPotion.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Throwable.php b/src/entity/projectile/Throwable.php index 20bf86912..86a3e5e04 100644 --- a/src/entity/projectile/Throwable.php +++ b/src/entity/projectile/Throwable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/utils/ExperienceUtils.php b/src/entity/utils/ExperienceUtils.php index c20c453c6..10e5b6721 100644 --- a/src/entity/utils/ExperienceUtils.php +++ b/src/entity/utils/ExperienceUtils.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/Cancellable.php b/src/event/Cancellable.php index e01d0b52d..990332c1d 100644 --- a/src/event/Cancellable.php +++ b/src/event/Cancellable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/CancellableTrait.php b/src/event/CancellableTrait.php index 313c49928..da1a08744 100644 --- a/src/event/CancellableTrait.php +++ b/src/event/CancellableTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/Event.php b/src/event/Event.php index 17f0417c5..7437283ac 100644 --- a/src/event/Event.php +++ b/src/event/Event.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/EventPriority.php b/src/event/EventPriority.php index 1ef6e9da3..cdeb3136a 100644 --- a/src/event/EventPriority.php +++ b/src/event/EventPriority.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/HandlerList.php b/src/event/HandlerList.php index 9687f0f8e..7d93c2ebe 100644 --- a/src/event/HandlerList.php +++ b/src/event/HandlerList.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/HandlerListManager.php b/src/event/HandlerListManager.php index 9d3154450..2440eca45 100644 --- a/src/event/HandlerListManager.php +++ b/src/event/HandlerListManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/Listener.php b/src/event/Listener.php index e39d0dcd9..50142880f 100644 --- a/src/event/Listener.php +++ b/src/event/Listener.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/ListenerMethodTags.php b/src/event/ListenerMethodTags.php index ba72fc4cf..cb932ce27 100644 --- a/src/event/ListenerMethodTags.php +++ b/src/event/ListenerMethodTags.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/RegisteredListener.php b/src/event/RegisteredListener.php index 01eca6801..d227fc2cb 100644 --- a/src/event/RegisteredListener.php +++ b/src/event/RegisteredListener.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BaseBlockChangeEvent.php b/src/event/block/BaseBlockChangeEvent.php index 224f5c123..ad4ecd5f6 100644 --- a/src/event/block/BaseBlockChangeEvent.php +++ b/src/event/block/BaseBlockChangeEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockBreakEvent.php b/src/event/block/BlockBreakEvent.php index e11a71ebc..2b83478af 100644 --- a/src/event/block/BlockBreakEvent.php +++ b/src/event/block/BlockBreakEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockBurnEvent.php b/src/event/block/BlockBurnEvent.php index b3a554e72..8f393987a 100644 --- a/src/event/block/BlockBurnEvent.php +++ b/src/event/block/BlockBurnEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockEvent.php b/src/event/block/BlockEvent.php index d506529ba..deb1ccf8d 100644 --- a/src/event/block/BlockEvent.php +++ b/src/event/block/BlockEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockFormEvent.php b/src/event/block/BlockFormEvent.php index f955319c0..5211e3a0f 100644 --- a/src/event/block/BlockFormEvent.php +++ b/src/event/block/BlockFormEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockGrowEvent.php b/src/event/block/BlockGrowEvent.php index 09389acbc..37fe2477a 100644 --- a/src/event/block/BlockGrowEvent.php +++ b/src/event/block/BlockGrowEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockItemPickupEvent.php b/src/event/block/BlockItemPickupEvent.php index 9b41b8730..872940103 100644 --- a/src/event/block/BlockItemPickupEvent.php +++ b/src/event/block/BlockItemPickupEvent.php @@ -1,5 +1,24 @@ session->sendDataPacket(ContainerClosePacket::create($id, false)); - if($this->pendingOpenWindowCallback !== null && $id === $this->pendingCloseWindowId){ - $this->session->getLogger()->debug("Opening deferred window after close ack of window $id"); + if($this->pendingCloseWindowId === $id){ $this->pendingCloseWindowId = null; - ($this->pendingOpenWindowCallback)(); - $this->pendingOpenWindowCallback = null; + if($this->pendingOpenWindowCallback !== null){ + $this->session->getLogger()->debug("Opening deferred window after close ack of window $id"); + ($this->pendingOpenWindowCallback)(); + $this->pendingOpenWindowCallback = null; + } } } diff --git a/src/network/mcpe/JwtException.php b/src/network/mcpe/JwtException.php index 14a3c21a2..267e58de3 100644 --- a/src/network/mcpe/JwtException.php +++ b/src/network/mcpe/JwtException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/JwtUtils.php b/src/network/mcpe/JwtUtils.php index 7a0a706c8..12d21974d 100644 --- a/src/network/mcpe/JwtUtils.php +++ b/src/network/mcpe/JwtUtils.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/NetworkSession.php b/src/network/mcpe/NetworkSession.php index 1d9af2fb2..a3ba8de8e 100644 --- a/src/network/mcpe/NetworkSession.php +++ b/src/network/mcpe/NetworkSession.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/PacketBroadcaster.php b/src/network/mcpe/PacketBroadcaster.php index 8a23fac75..a31393981 100644 --- a/src/network/mcpe/PacketBroadcaster.php +++ b/src/network/mcpe/PacketBroadcaster.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/PacketSender.php b/src/network/mcpe/PacketSender.php index 00ff20296..4842ea93e 100644 --- a/src/network/mcpe/PacketSender.php +++ b/src/network/mcpe/PacketSender.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/StandardPacketBroadcaster.php b/src/network/mcpe/StandardPacketBroadcaster.php index 6f6567b24..9cba70739 100644 --- a/src/network/mcpe/StandardPacketBroadcaster.php +++ b/src/network/mcpe/StandardPacketBroadcaster.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/auth/ProcessLoginTask.php b/src/network/mcpe/auth/ProcessLoginTask.php index bfbbeaa79..553fef68f 100644 --- a/src/network/mcpe/auth/ProcessLoginTask.php +++ b/src/network/mcpe/auth/ProcessLoginTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/auth/VerifyLoginException.php b/src/network/mcpe/auth/VerifyLoginException.php index fc5fbbaca..b112215a8 100644 --- a/src/network/mcpe/auth/VerifyLoginException.php +++ b/src/network/mcpe/auth/VerifyLoginException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/cache/ChunkCache.php b/src/network/mcpe/cache/ChunkCache.php index e03c672ba..dae5e27d6 100644 --- a/src/network/mcpe/cache/ChunkCache.php +++ b/src/network/mcpe/cache/ChunkCache.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/cache/CraftingDataCache.php b/src/network/mcpe/cache/CraftingDataCache.php index 1f09525d8..8589f1881 100644 --- a/src/network/mcpe/cache/CraftingDataCache.php +++ b/src/network/mcpe/cache/CraftingDataCache.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/cache/StaticPacketCache.php b/src/network/mcpe/cache/StaticPacketCache.php index 8a2afe137..b4e1a7150 100644 --- a/src/network/mcpe/cache/StaticPacketCache.php +++ b/src/network/mcpe/cache/StaticPacketCache.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/compression/CompressBatchPromise.php b/src/network/mcpe/compression/CompressBatchPromise.php index 0736825b7..3b8c9680b 100644 --- a/src/network/mcpe/compression/CompressBatchPromise.php +++ b/src/network/mcpe/compression/CompressBatchPromise.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/compression/CompressBatchTask.php b/src/network/mcpe/compression/CompressBatchTask.php index e9d5efd71..b863076fa 100644 --- a/src/network/mcpe/compression/CompressBatchTask.php +++ b/src/network/mcpe/compression/CompressBatchTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/compression/Compressor.php b/src/network/mcpe/compression/Compressor.php index 50e8ab609..e15c7eb85 100644 --- a/src/network/mcpe/compression/Compressor.php +++ b/src/network/mcpe/compression/Compressor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/compression/DecompressionException.php b/src/network/mcpe/compression/DecompressionException.php index 8cff0e6d2..e25014384 100644 --- a/src/network/mcpe/compression/DecompressionException.php +++ b/src/network/mcpe/compression/DecompressionException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/compression/ZlibCompressor.php b/src/network/mcpe/compression/ZlibCompressor.php index b9529a898..a9ad2718e 100644 --- a/src/network/mcpe/compression/ZlibCompressor.php +++ b/src/network/mcpe/compression/ZlibCompressor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/convert/GlobalItemTypeDictionary.php b/src/network/mcpe/convert/GlobalItemTypeDictionary.php index 2bf316d48..6940a91d7 100644 --- a/src/network/mcpe/convert/GlobalItemTypeDictionary.php +++ b/src/network/mcpe/convert/GlobalItemTypeDictionary.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/convert/ItemTranslator.php b/src/network/mcpe/convert/ItemTranslator.php index 5dac8334a..4a2036e0b 100644 --- a/src/network/mcpe/convert/ItemTranslator.php +++ b/src/network/mcpe/convert/ItemTranslator.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/convert/LegacySkinAdapter.php b/src/network/mcpe/convert/LegacySkinAdapter.php index 60bb29d57..9dcc43f2b 100644 --- a/src/network/mcpe/convert/LegacySkinAdapter.php +++ b/src/network/mcpe/convert/LegacySkinAdapter.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/convert/R12ToCurrentBlockMapEntry.php b/src/network/mcpe/convert/R12ToCurrentBlockMapEntry.php index b5b2dbb6b..f482e083b 100644 --- a/src/network/mcpe/convert/R12ToCurrentBlockMapEntry.php +++ b/src/network/mcpe/convert/R12ToCurrentBlockMapEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/convert/RuntimeBlockMapping.php b/src/network/mcpe/convert/RuntimeBlockMapping.php index 3f616e5ba..8a47de971 100644 --- a/src/network/mcpe/convert/RuntimeBlockMapping.php +++ b/src/network/mcpe/convert/RuntimeBlockMapping.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/convert/SkinAdapter.php b/src/network/mcpe/convert/SkinAdapter.php index 14ffc386d..d87d93c8a 100644 --- a/src/network/mcpe/convert/SkinAdapter.php +++ b/src/network/mcpe/convert/SkinAdapter.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/convert/SkinAdapterSingleton.php b/src/network/mcpe/convert/SkinAdapterSingleton.php index 2962b866e..db2f7903a 100644 --- a/src/network/mcpe/convert/SkinAdapterSingleton.php +++ b/src/network/mcpe/convert/SkinAdapterSingleton.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/convert/TypeConversionException.php b/src/network/mcpe/convert/TypeConversionException.php index fb24fefd3..1aa0eb734 100644 --- a/src/network/mcpe/convert/TypeConversionException.php +++ b/src/network/mcpe/convert/TypeConversionException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/convert/TypeConverter.php b/src/network/mcpe/convert/TypeConverter.php index b4d111317..2a74c9f07 100644 --- a/src/network/mcpe/convert/TypeConverter.php +++ b/src/network/mcpe/convert/TypeConverter.php @@ -1,4 +1,5 @@ = 0x7fff){ + throw new TypeConversionException("Item ID must be in range " . -0x8000 . " ... " . 0x7fff . " (received $id)"); + } if($meta < 0 || $meta >= 0x7fff){ //this meta value may have been restored from the NBT throw new TypeConversionException("Item meta must be in range 0 ... " . 0x7fff . " (received $meta)"); } diff --git a/src/network/mcpe/encryption/DecryptionException.php b/src/network/mcpe/encryption/DecryptionException.php index 1a5e7e690..4c5a5b8d8 100644 --- a/src/network/mcpe/encryption/DecryptionException.php +++ b/src/network/mcpe/encryption/DecryptionException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/encryption/EncryptionContext.php b/src/network/mcpe/encryption/EncryptionContext.php index ff11b976d..007751363 100644 --- a/src/network/mcpe/encryption/EncryptionContext.php +++ b/src/network/mcpe/encryption/EncryptionContext.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/encryption/EncryptionUtils.php b/src/network/mcpe/encryption/EncryptionUtils.php index 0aec6b445..cb56562db 100644 --- a/src/network/mcpe/encryption/EncryptionUtils.php +++ b/src/network/mcpe/encryption/EncryptionUtils.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/encryption/PrepareEncryptionTask.php b/src/network/mcpe/encryption/PrepareEncryptionTask.php index fe1b742dd..5c982bad0 100644 --- a/src/network/mcpe/encryption/PrepareEncryptionTask.php +++ b/src/network/mcpe/encryption/PrepareEncryptionTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/handler/DeathPacketHandler.php b/src/network/mcpe/handler/DeathPacketHandler.php index 3d710df11..0ae5f444f 100644 --- a/src/network/mcpe/handler/DeathPacketHandler.php +++ b/src/network/mcpe/handler/DeathPacketHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/handler/HandshakePacketHandler.php b/src/network/mcpe/handler/HandshakePacketHandler.php index b18eaf7f8..b8f86b722 100644 --- a/src/network/mcpe/handler/HandshakePacketHandler.php +++ b/src/network/mcpe/handler/HandshakePacketHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/handler/InGamePacketHandler.php b/src/network/mcpe/handler/InGamePacketHandler.php index ba8163451..bc21ec23e 100644 --- a/src/network/mcpe/handler/InGamePacketHandler.php +++ b/src/network/mcpe/handler/InGamePacketHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); @@ -80,6 +80,7 @@ use pocketmine\network\mcpe\protocol\PlayerAuthInputPacket; use pocketmine\network\mcpe\protocol\PlayerHotbarPacket; use pocketmine\network\mcpe\protocol\PlayerInputPacket; use pocketmine\network\mcpe\protocol\PlayerSkinPacket; +use pocketmine\network\mcpe\protocol\RequestAbilityPacket; use pocketmine\network\mcpe\protocol\RequestChunkRadiusPacket; use pocketmine\network\mcpe\protocol\ServerSettingsRequestPacket; use pocketmine\network\mcpe\protocol\SetActorMotionPacket; @@ -114,6 +115,7 @@ use function count; use function fmod; use function implode; use function in_array; +use function is_bool; use function is_infinite; use function is_nan; use function json_decode; @@ -610,6 +612,10 @@ class InGamePacketHandler extends PacketHandler{ case PlayerAction::CREATIVE_PLAYER_DESTROY_BLOCK: //TODO: do we need to handle this? break; + case PlayerAction::START_ITEM_USE_ON: + case PlayerAction::STOP_ITEM_USE_ON: + //TODO: this has no obvious use and seems only used for analytics in vanilla - ignore it + break; default: $this->session->getLogger()->debug("Unhandled/unknown player action type " . $action); return false; @@ -642,23 +648,7 @@ class InGamePacketHandler extends PacketHandler{ } public function handleAdventureSettings(AdventureSettingsPacket $packet) : bool{ - if($packet->targetActorUniqueId !== $this->player->getId()){ - return false; //TODO: operators can change other people's permissions using this - } - - $handled = false; - - $isFlying = $packet->getFlag(AdventureSettingsPacket::FLYING); - if($isFlying !== $this->player->isFlying()){ - if(!$this->player->toggleFlight($isFlying)){ - $this->session->syncAdventureSettings($this->player); - } - $handled = true; - } - - //TODO: check for other changes - - return $handled; + return true; //no longer used, but the client still sends it for flight changes } public function handleBlockActorData(BlockActorDataPacket $packet) : bool{ @@ -980,4 +970,22 @@ class InGamePacketHandler extends PacketHandler{ $this->player->emote($packet->getEmoteId()); return true; } + + public function handleRequestAbility(RequestAbilityPacket $packet) : bool{ + if($packet->getAbilityId() === RequestAbilityPacket::ABILITY_FLYING){ + $isFlying = $packet->getAbilityValue(); + if(!is_bool($isFlying)){ + throw new PacketHandlingException("Flying ability should always have a bool value"); + } + if($isFlying !== $this->player->isFlying()){ + if(!$this->player->toggleFlight($isFlying)){ + $this->session->syncAdventureSettings($this->player); + } + } + + return true; + } + + return false; + } } diff --git a/src/network/mcpe/handler/LoginPacketHandler.php b/src/network/mcpe/handler/LoginPacketHandler.php index b41063716..eca94cbd1 100644 --- a/src/network/mcpe/handler/LoginPacketHandler.php +++ b/src/network/mcpe/handler/LoginPacketHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/handler/PacketHandler.php b/src/network/mcpe/handler/PacketHandler.php index 501a87df6..9e8a5ffe3 100644 --- a/src/network/mcpe/handler/PacketHandler.php +++ b/src/network/mcpe/handler/PacketHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/handler/PreSpawnPacketHandler.php b/src/network/mcpe/handler/PreSpawnPacketHandler.php index c3858261d..52a69d5b5 100644 --- a/src/network/mcpe/handler/PreSpawnPacketHandler.php +++ b/src/network/mcpe/handler/PreSpawnPacketHandler.php @@ -17,12 +17,13 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); namespace pocketmine\network\mcpe\handler; +use pocketmine\nbt\tag\CompoundTag; use pocketmine\network\mcpe\cache\CraftingDataCache; use pocketmine\network\mcpe\cache\StaticPacketCache; use pocketmine\network\mcpe\convert\GlobalItemTypeDictionary; @@ -33,6 +34,7 @@ use pocketmine\network\mcpe\protocol\RequestChunkRadiusPacket; use pocketmine\network\mcpe\protocol\StartGamePacket; use pocketmine\network\mcpe\protocol\types\BlockPosition; use pocketmine\network\mcpe\protocol\types\BoolGameRule; +use pocketmine\network\mcpe\protocol\types\CacheableNbt; use pocketmine\network\mcpe\protocol\types\DimensionIds; use pocketmine\network\mcpe\protocol\types\Experiments; use pocketmine\network\mcpe\protocol\types\LevelSettings; @@ -42,6 +44,7 @@ use pocketmine\network\mcpe\protocol\types\SpawnSettings; use pocketmine\player\Player; use pocketmine\Server; use pocketmine\VersionInfo; +use Ramsey\Uuid\Uuid; use function sprintf; /** @@ -82,6 +85,7 @@ class PreSpawnPacketHandler extends PacketHandler{ $this->player->getOffsetPosition($location), $location->pitch, $location->yaw, + new CacheableNbt(CompoundTag::create()), //TODO: we don't care about this right now $levelSettings, "", $this->server->getMotd(), @@ -93,6 +97,7 @@ class PreSpawnPacketHandler extends PacketHandler{ "", false, sprintf("%s %s", VersionInfo::NAME, VersionInfo::VERSION()->getFullVersion(true)), + Uuid::fromString(Uuid::NIL), [], 0, GlobalItemTypeDictionary::getInstance()->getDictionary()->getEntries() diff --git a/src/network/mcpe/handler/ResourcePacksPacketHandler.php b/src/network/mcpe/handler/ResourcePacksPacketHandler.php index 04dddb242..a7c603ceb 100644 --- a/src/network/mcpe/handler/ResourcePacksPacketHandler.php +++ b/src/network/mcpe/handler/ResourcePacksPacketHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/handler/SpawnResponsePacketHandler.php b/src/network/mcpe/handler/SpawnResponsePacketHandler.php index 92c412a75..fae3597b8 100644 --- a/src/network/mcpe/handler/SpawnResponsePacketHandler.php +++ b/src/network/mcpe/handler/SpawnResponsePacketHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/raklib/PthreadsChannelReader.php b/src/network/mcpe/raklib/PthreadsChannelReader.php index 4a8d82a37..d5b52c790 100644 --- a/src/network/mcpe/raklib/PthreadsChannelReader.php +++ b/src/network/mcpe/raklib/PthreadsChannelReader.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/network/mcpe/raklib/PthreadsChannelWriter.php b/src/network/mcpe/raklib/PthreadsChannelWriter.php index 168d3c624..5462f7776 100644 --- a/src/network/mcpe/raklib/PthreadsChannelWriter.php +++ b/src/network/mcpe/raklib/PthreadsChannelWriter.php @@ -1,16 +1,22 @@ getName(); + if($this->graylist !== null && !$this->graylist->isAllowed($name)){ + $this->server->getLogger()->notice($this->server->getLanguage()->translate(KnownTranslationFactory::pocketmine_plugin_loadError( + $name, + $this->graylist->isWhitelist() ? KnownTranslationFactory::pocketmine_plugin_disallowedByWhitelist() : KnownTranslationFactory::pocketmine_plugin_disallowedByBlacklist() + ))); + //this does NOT increment loadErrorCount, because using the graylist to prevent a plugin from + //loading is not considered accidental; this is the same as if the plugin were manually removed + //this means that the server will continue to boot even if some plugins were blocked by graylist + continue; + } + if(($loadabilityError = $loadabilityChecker->check($description)) !== null){ $this->server->getLogger()->critical($this->server->getLanguage()->translate(KnownTranslationFactory::pocketmine_plugin_loadError($name, $loadabilityError))); $loadErrorCount++; @@ -286,17 +297,6 @@ class PluginManager{ $this->server->getLogger()->warning($this->server->getLanguage()->translate(KnownTranslationFactory::pocketmine_plugin_spacesDiscouraged($name))); } - if($this->graylist !== null && !$this->graylist->isAllowed($name)){ - $this->server->getLogger()->notice($this->server->getLanguage()->translate(KnownTranslationFactory::pocketmine_plugin_loadError( - $name, - $this->graylist->isWhitelist() ? KnownTranslationFactory::pocketmine_plugin_disallowedByWhitelist() : KnownTranslationFactory::pocketmine_plugin_disallowedByBlacklist() - ))); - //this does NOT increment loadErrorCount, because using the graylist to prevent a plugin from - //loading is not considered accidental; this is the same as if the plugin were manually removed - //this means that the server will continue to boot even if some plugins were blocked by graylist - continue; - } - $triage->plugins[$name] = new PluginLoadTriageEntry($file, $loader, $description); $triage->softDependencies[$name] = array_merge($triage->softDependencies[$name] ?? [], $description->getSoftDepend()); diff --git a/src/plugin/PluginOwned.php b/src/plugin/PluginOwned.php index 8497c7866..a6d7fa6e0 100644 --- a/src/plugin/PluginOwned.php +++ b/src/plugin/PluginOwned.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/plugin/PluginOwnedTrait.php b/src/plugin/PluginOwnedTrait.php index 278108c60..2e39f67f7 100644 --- a/src/plugin/PluginOwnedTrait.php +++ b/src/plugin/PluginOwnedTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/plugin/ResourceProvider.php b/src/plugin/ResourceProvider.php index fd2f29b62..3594d7eee 100644 --- a/src/plugin/ResourceProvider.php +++ b/src/plugin/ResourceProvider.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/plugin/ScriptPluginLoader.php b/src/plugin/ScriptPluginLoader.php index ccf4c8a01..6b5146c62 100644 --- a/src/plugin/ScriptPluginLoader.php +++ b/src/plugin/ScriptPluginLoader.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/promise/Promise.php b/src/promise/Promise.php index 5b036cdd3..e7188197c 100644 --- a/src/promise/Promise.php +++ b/src/promise/Promise.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/promise/PromiseResolver.php b/src/promise/PromiseResolver.php index aca3b6b89..30a60e0cd 100644 --- a/src/promise/PromiseResolver.php +++ b/src/promise/PromiseResolver.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/promise/PromiseSharedData.php b/src/promise/PromiseSharedData.php index bccf56cc2..f4b1e3849 100644 --- a/src/promise/PromiseSharedData.php +++ b/src/promise/PromiseSharedData.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/resourcepacks/ResourcePack.php b/src/resourcepacks/ResourcePack.php index a1abfc227..93f446965 100644 --- a/src/resourcepacks/ResourcePack.php +++ b/src/resourcepacks/ResourcePack.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/resourcepacks/ResourcePackException.php b/src/resourcepacks/ResourcePackException.php index b5f43ecf3..5b7c59b7a 100644 --- a/src/resourcepacks/ResourcePackException.php +++ b/src/resourcepacks/ResourcePackException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/resourcepacks/ResourcePackManager.php b/src/resourcepacks/ResourcePackManager.php index 917be1ded..4aaa9afc7 100644 --- a/src/resourcepacks/ResourcePackManager.php +++ b/src/resourcepacks/ResourcePackManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/resourcepacks/ZippedResourcePack.php b/src/resourcepacks/ZippedResourcePack.php index 2ec39445b..36d71216f 100644 --- a/src/resourcepacks/ZippedResourcePack.php +++ b/src/resourcepacks/ZippedResourcePack.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/resourcepacks/json/Manifest.php b/src/resourcepacks/json/Manifest.php index cd6f1c913..1c5f5d45c 100644 --- a/src/resourcepacks/json/Manifest.php +++ b/src/resourcepacks/json/Manifest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/resourcepacks/json/ManifestDependencyEntry.php b/src/resourcepacks/json/ManifestDependencyEntry.php index f7dd76abc..099ad7748 100644 --- a/src/resourcepacks/json/ManifestDependencyEntry.php +++ b/src/resourcepacks/json/ManifestDependencyEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/resourcepacks/json/ManifestHeader.php b/src/resourcepacks/json/ManifestHeader.php index 60568a4db..b709ade98 100644 --- a/src/resourcepacks/json/ManifestHeader.php +++ b/src/resourcepacks/json/ManifestHeader.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/resourcepacks/json/ManifestMetadata.php b/src/resourcepacks/json/ManifestMetadata.php index d44c42167..7fe9d3f41 100644 --- a/src/resourcepacks/json/ManifestMetadata.php +++ b/src/resourcepacks/json/ManifestMetadata.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/resourcepacks/json/ManifestModuleEntry.php b/src/resourcepacks/json/ManifestModuleEntry.php index a97623b05..f1a5c488c 100644 --- a/src/resourcepacks/json/ManifestModuleEntry.php +++ b/src/resourcepacks/json/ManifestModuleEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/AsyncPool.php b/src/scheduler/AsyncPool.php index 184d82c8a..85fd76d0e 100644 --- a/src/scheduler/AsyncPool.php +++ b/src/scheduler/AsyncPool.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/AsyncTask.php b/src/scheduler/AsyncTask.php index f3f506924..28c7a2957 100644 --- a/src/scheduler/AsyncTask.php +++ b/src/scheduler/AsyncTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/AsyncWorker.php b/src/scheduler/AsyncWorker.php index 93e3a8dc4..af1ec2ad6 100644 --- a/src/scheduler/AsyncWorker.php +++ b/src/scheduler/AsyncWorker.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/BulkCurlTask.php b/src/scheduler/BulkCurlTask.php index be57b662d..ccc1b2466 100644 --- a/src/scheduler/BulkCurlTask.php +++ b/src/scheduler/BulkCurlTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/BulkCurlTaskOperation.php b/src/scheduler/BulkCurlTaskOperation.php index 27081c905..cd6b478fd 100644 --- a/src/scheduler/BulkCurlTaskOperation.php +++ b/src/scheduler/BulkCurlTaskOperation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/CancelTaskException.php b/src/scheduler/CancelTaskException.php index a500c4d78..0c43cccb6 100644 --- a/src/scheduler/CancelTaskException.php +++ b/src/scheduler/CancelTaskException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/ClosureTask.php b/src/scheduler/ClosureTask.php index eed5fcfa8..4b8166f22 100644 --- a/src/scheduler/ClosureTask.php +++ b/src/scheduler/ClosureTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/DumpWorkerMemoryTask.php b/src/scheduler/DumpWorkerMemoryTask.php index 111d69f69..98b5e8909 100644 --- a/src/scheduler/DumpWorkerMemoryTask.php +++ b/src/scheduler/DumpWorkerMemoryTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/GarbageCollectionTask.php b/src/scheduler/GarbageCollectionTask.php index 97ea28a93..e9eef10ca 100644 --- a/src/scheduler/GarbageCollectionTask.php +++ b/src/scheduler/GarbageCollectionTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/Task.php b/src/scheduler/Task.php index 66395e62b..bde405a63 100644 --- a/src/scheduler/Task.php +++ b/src/scheduler/Task.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/TaskHandler.php b/src/scheduler/TaskHandler.php index 2d2af8624..e1cadb652 100644 --- a/src/scheduler/TaskHandler.php +++ b/src/scheduler/TaskHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/scheduler/TaskScheduler.php b/src/scheduler/TaskScheduler.php index 86e0bb331..335686e13 100644 --- a/src/scheduler/TaskScheduler.php +++ b/src/scheduler/TaskScheduler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/stats/SendUsageTask.php b/src/stats/SendUsageTask.php index 2064caf08..ed141fd53 100644 --- a/src/stats/SendUsageTask.php +++ b/src/stats/SendUsageTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/thread/CommonThreadPartsTrait.php b/src/thread/CommonThreadPartsTrait.php index 3f609d833..d39256924 100644 --- a/src/thread/CommonThreadPartsTrait.php +++ b/src/thread/CommonThreadPartsTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/thread/Thread.php b/src/thread/Thread.php index 8448289a6..1c73cb1e2 100644 --- a/src/thread/Thread.php +++ b/src/thread/Thread.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/thread/ThreadException.php b/src/thread/ThreadException.php index 2779c1795..f8e999edf 100644 --- a/src/thread/ThreadException.php +++ b/src/thread/ThreadException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/thread/ThreadManager.php b/src/thread/ThreadManager.php index 2ade68f6e..b22a424e7 100644 --- a/src/thread/ThreadManager.php +++ b/src/thread/ThreadManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/thread/Worker.php b/src/thread/Worker.php index e504165ff..1315202b1 100644 --- a/src/thread/Worker.php +++ b/src/thread/Worker.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/timings/Timings.php b/src/timings/Timings.php index d3dd85578..6f0b38cc7 100644 --- a/src/timings/Timings.php +++ b/src/timings/Timings.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/timings/TimingsHandler.php b/src/timings/TimingsHandler.php index 5a28b6664..a619e3ba8 100644 --- a/src/timings/TimingsHandler.php +++ b/src/timings/TimingsHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/timings/TimingsRecord.php b/src/timings/TimingsRecord.php index fb2e05e1a..0ba03d522 100644 --- a/src/timings/TimingsRecord.php +++ b/src/timings/TimingsRecord.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/updater/UpdateCheckTask.php b/src/updater/UpdateCheckTask.php index 08e16fb69..ae56682f3 100644 --- a/src/updater/UpdateCheckTask.php +++ b/src/updater/UpdateCheckTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/updater/UpdateChecker.php b/src/updater/UpdateChecker.php index 298704a5a..b33d271a8 100644 --- a/src/updater/UpdateChecker.php +++ b/src/updater/UpdateChecker.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/updater/UpdateInfo.php b/src/updater/UpdateInfo.php index ebbc393d0..d433be08e 100644 --- a/src/updater/UpdateInfo.php +++ b/src/updater/UpdateInfo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/AssumptionFailedError.php b/src/utils/AssumptionFailedError.php index df7d2d464..7b8891c3f 100644 --- a/src/utils/AssumptionFailedError.php +++ b/src/utils/AssumptionFailedError.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/CloningRegistryTrait.php b/src/utils/CloningRegistryTrait.php index af815658e..c69b38d7d 100644 --- a/src/utils/CloningRegistryTrait.php +++ b/src/utils/CloningRegistryTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/Config.php b/src/utils/Config.php index 3fa78df80..ffc2db69a 100644 --- a/src/utils/Config.php +++ b/src/utils/Config.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/ConfigLoadException.php b/src/utils/ConfigLoadException.php index a4be1da3d..39f00d7eb 100644 --- a/src/utils/ConfigLoadException.php +++ b/src/utils/ConfigLoadException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/DestructorCallbackTrait.php b/src/utils/DestructorCallbackTrait.php index 3653cfa05..4c0a622c0 100644 --- a/src/utils/DestructorCallbackTrait.php +++ b/src/utils/DestructorCallbackTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/EnumTrait.php b/src/utils/EnumTrait.php index 48e705c57..315561444 100644 --- a/src/utils/EnumTrait.php +++ b/src/utils/EnumTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/Filesystem.php b/src/utils/Filesystem.php index 3a4ef243f..20ec8b312 100644 --- a/src/utils/Filesystem.php +++ b/src/utils/Filesystem.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/Git.php b/src/utils/Git.php index 65142330b..9d5744f06 100644 --- a/src/utils/Git.php +++ b/src/utils/Git.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/Internet.php b/src/utils/Internet.php index 7facf73b5..a679320bb 100644 --- a/src/utils/Internet.php +++ b/src/utils/Internet.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/InternetException.php b/src/utils/InternetException.php index bc93512b0..5ae0f6fb5 100644 --- a/src/utils/InternetException.php +++ b/src/utils/InternetException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/InternetRequestResult.php b/src/utils/InternetRequestResult.php index c952c2d6b..4e5da4c25 100644 --- a/src/utils/InternetRequestResult.php +++ b/src/utils/InternetRequestResult.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/MainLogger.php b/src/utils/MainLogger.php index 1e0c430d8..6cefce218 100644 --- a/src/utils/MainLogger.php +++ b/src/utils/MainLogger.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/MainLoggerThread.php b/src/utils/MainLoggerThread.php index f8c3f03cd..b56562134 100644 --- a/src/utils/MainLoggerThread.php +++ b/src/utils/MainLoggerThread.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/NotCloneable.php b/src/utils/NotCloneable.php index 23eb04754..4f16e438b 100644 --- a/src/utils/NotCloneable.php +++ b/src/utils/NotCloneable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/NotSerializable.php b/src/utils/NotSerializable.php index ccf204e22..ee1e3a87f 100644 --- a/src/utils/NotSerializable.php +++ b/src/utils/NotSerializable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/ObjectSet.php b/src/utils/ObjectSet.php index 0b6b0049d..e3502028c 100644 --- a/src/utils/ObjectSet.php +++ b/src/utils/ObjectSet.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/Process.php b/src/utils/Process.php index 503bba7c5..d66dd80bd 100644 --- a/src/utils/Process.php +++ b/src/utils/Process.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/Random.php b/src/utils/Random.php index 6e932a079..3d2963c30 100644 --- a/src/utils/Random.php +++ b/src/utils/Random.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/RegistryTrait.php b/src/utils/RegistryTrait.php index a6e551c47..989800ef0 100644 --- a/src/utils/RegistryTrait.php +++ b/src/utils/RegistryTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/ReversePriorityQueue.php b/src/utils/ReversePriorityQueue.php index fc8588a13..76e648231 100644 --- a/src/utils/ReversePriorityQueue.php +++ b/src/utils/ReversePriorityQueue.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/ServerException.php b/src/utils/ServerException.php index 4a81a3674..521bd0171 100644 --- a/src/utils/ServerException.php +++ b/src/utils/ServerException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/ServerKiller.php b/src/utils/ServerKiller.php index 67168fe87..1739643d0 100644 --- a/src/utils/ServerKiller.php +++ b/src/utils/ServerKiller.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/SignalHandler.php b/src/utils/SignalHandler.php index de81a2b67..82ae02da6 100644 --- a/src/utils/SignalHandler.php +++ b/src/utils/SignalHandler.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/SingletonTrait.php b/src/utils/SingletonTrait.php index ee63cbb9c..3873e0dff 100644 --- a/src/utils/SingletonTrait.php +++ b/src/utils/SingletonTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/StringToTParser.php b/src/utils/StringToTParser.php index 5320f2b58..f87db7173 100644 --- a/src/utils/StringToTParser.php +++ b/src/utils/StringToTParser.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/Terminal.php b/src/utils/Terminal.php index c89ad7805..0ad729658 100644 --- a/src/utils/Terminal.php +++ b/src/utils/Terminal.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/TextFormat.php b/src/utils/TextFormat.php index f784f5dd2..d2250057f 100644 --- a/src/utils/TextFormat.php +++ b/src/utils/TextFormat.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/Timezone.php b/src/utils/Timezone.php index 95358e704..02110c0eb 100644 --- a/src/utils/Timezone.php +++ b/src/utils/Timezone.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/Utils.php b/src/utils/Utils.php index 94ed1d97e..03377b6c4 100644 --- a/src/utils/Utils.php +++ b/src/utils/Utils.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/utils/VersionString.php b/src/utils/VersionString.php index 2d2cb6bca..503a1d921 100644 --- a/src/utils/VersionString.php +++ b/src/utils/VersionString.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/wizard/SetupWizard.php b/src/wizard/SetupWizard.php index 3d29e3e2f..8373b0e8b 100644 --- a/src/wizard/SetupWizard.php +++ b/src/wizard/SetupWizard.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/BlockTransaction.php b/src/world/BlockTransaction.php index b685d2443..5f7e9f9fa 100644 --- a/src/world/BlockTransaction.php +++ b/src/world/BlockTransaction.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/ChunkListener.php b/src/world/ChunkListener.php index 8fafd73b0..5c7a7b941 100644 --- a/src/world/ChunkListener.php +++ b/src/world/ChunkListener.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/ChunkListenerNoOpTrait.php b/src/world/ChunkListenerNoOpTrait.php index b48a9659c..41fd9a83e 100644 --- a/src/world/ChunkListenerNoOpTrait.php +++ b/src/world/ChunkListenerNoOpTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/ChunkLoader.php b/src/world/ChunkLoader.php index a2c1e3b9a..9e909e928 100644 --- a/src/world/ChunkLoader.php +++ b/src/world/ChunkLoader.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/ChunkLockId.php b/src/world/ChunkLockId.php index 9931aa089..c904e8897 100644 --- a/src/world/ChunkLockId.php +++ b/src/world/ChunkLockId.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/ChunkManager.php b/src/world/ChunkManager.php index e84b88dc0..c5e1f3fd4 100644 --- a/src/world/ChunkManager.php +++ b/src/world/ChunkManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/Explosion.php b/src/world/Explosion.php index 209fd3e30..9f117245c 100644 --- a/src/world/Explosion.php +++ b/src/world/Explosion.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/Position.php b/src/world/Position.php index 5339adbec..13fd4e632 100644 --- a/src/world/Position.php +++ b/src/world/Position.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/SimpleChunkManager.php b/src/world/SimpleChunkManager.php index a56095a17..908f7ab36 100644 --- a/src/world/SimpleChunkManager.php +++ b/src/world/SimpleChunkManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/TickingChunkLoader.php b/src/world/TickingChunkLoader.php index 57281c90c..c081571c3 100644 --- a/src/world/TickingChunkLoader.php +++ b/src/world/TickingChunkLoader.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/World.php b/src/world/World.php index cd430bba4..13dc24d1e 100644 --- a/src/world/World.php +++ b/src/world/World.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/WorldCreationOptions.php b/src/world/WorldCreationOptions.php index 87304dd5e..bf97206fe 100644 --- a/src/world/WorldCreationOptions.php +++ b/src/world/WorldCreationOptions.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/WorldException.php b/src/world/WorldException.php index 73966649f..e13b3192c 100644 --- a/src/world/WorldException.php +++ b/src/world/WorldException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/WorldManager.php b/src/world/WorldManager.php index f4a6e8b08..83f7aac98 100644 --- a/src/world/WorldManager.php +++ b/src/world/WorldManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/WorldTimings.php b/src/world/WorldTimings.php index 874a5f5fd..e6a5d6d60 100644 --- a/src/world/WorldTimings.php +++ b/src/world/WorldTimings.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/Biome.php b/src/world/biome/Biome.php index 6115beabe..e42983cc8 100644 --- a/src/world/biome/Biome.php +++ b/src/world/biome/Biome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/BiomeRegistry.php b/src/world/biome/BiomeRegistry.php index 809cd4b89..470360d4b 100644 --- a/src/world/biome/BiomeRegistry.php +++ b/src/world/biome/BiomeRegistry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/DesertBiome.php b/src/world/biome/DesertBiome.php index 79e3cda63..9d8d219a6 100644 --- a/src/world/biome/DesertBiome.php +++ b/src/world/biome/DesertBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/ForestBiome.php b/src/world/biome/ForestBiome.php index d5a4dfba4..f75c303c4 100644 --- a/src/world/biome/ForestBiome.php +++ b/src/world/biome/ForestBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/GrassyBiome.php b/src/world/biome/GrassyBiome.php index 9520c1a2e..de0c20221 100644 --- a/src/world/biome/GrassyBiome.php +++ b/src/world/biome/GrassyBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/HellBiome.php b/src/world/biome/HellBiome.php index 38556ad25..71c8917ca 100644 --- a/src/world/biome/HellBiome.php +++ b/src/world/biome/HellBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/IcePlainsBiome.php b/src/world/biome/IcePlainsBiome.php index 5b7756971..dde37e109 100644 --- a/src/world/biome/IcePlainsBiome.php +++ b/src/world/biome/IcePlainsBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/MountainsBiome.php b/src/world/biome/MountainsBiome.php index 47986a8aa..f90260d50 100644 --- a/src/world/biome/MountainsBiome.php +++ b/src/world/biome/MountainsBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/OceanBiome.php b/src/world/biome/OceanBiome.php index e554ca731..be43cc5b1 100644 --- a/src/world/biome/OceanBiome.php +++ b/src/world/biome/OceanBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/PlainBiome.php b/src/world/biome/PlainBiome.php index e6d0f07e1..f7a165f86 100644 --- a/src/world/biome/PlainBiome.php +++ b/src/world/biome/PlainBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/RiverBiome.php b/src/world/biome/RiverBiome.php index 534107b8c..ff05f04d5 100644 --- a/src/world/biome/RiverBiome.php +++ b/src/world/biome/RiverBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/SandyBiome.php b/src/world/biome/SandyBiome.php index e809c6201..fe5b34373 100644 --- a/src/world/biome/SandyBiome.php +++ b/src/world/biome/SandyBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/SmallMountainsBiome.php b/src/world/biome/SmallMountainsBiome.php index 6ba7127fb..31c04b9d1 100644 --- a/src/world/biome/SmallMountainsBiome.php +++ b/src/world/biome/SmallMountainsBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/SnowyBiome.php b/src/world/biome/SnowyBiome.php index ed1061d63..36ccfcc2c 100644 --- a/src/world/biome/SnowyBiome.php +++ b/src/world/biome/SnowyBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/SwampBiome.php b/src/world/biome/SwampBiome.php index a1db3621a..9d364c041 100644 --- a/src/world/biome/SwampBiome.php +++ b/src/world/biome/SwampBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/TaigaBiome.php b/src/world/biome/TaigaBiome.php index 18a8ca344..b96c69bcc 100644 --- a/src/world/biome/TaigaBiome.php +++ b/src/world/biome/TaigaBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/biome/UnknownBiome.php b/src/world/biome/UnknownBiome.php index c8ac01897..ca0b83f70 100644 --- a/src/world/biome/UnknownBiome.php +++ b/src/world/biome/UnknownBiome.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/BiomeArray.php b/src/world/format/BiomeArray.php index 79091d7ea..5c7a3131f 100644 --- a/src/world/format/BiomeArray.php +++ b/src/world/format/BiomeArray.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/Chunk.php b/src/world/format/Chunk.php index b3265cbdb..865cc9a51 100644 --- a/src/world/format/Chunk.php +++ b/src/world/format/Chunk.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ /** * Implementation of MCPE-style chunks with subchunks with XZY ordering. diff --git a/src/world/format/ChunkException.php b/src/world/format/ChunkException.php index d8f97d057..007434680 100644 --- a/src/world/format/ChunkException.php +++ b/src/world/format/ChunkException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/HeightArray.php b/src/world/format/HeightArray.php index faf9e19be..27f9cecb7 100644 --- a/src/world/format/HeightArray.php +++ b/src/world/format/HeightArray.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/SubChunk.php b/src/world/format/SubChunk.php index 81a749949..9f1b94bec 100644 --- a/src/world/format/SubChunk.php +++ b/src/world/format/SubChunk.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/BaseWorldProvider.php b/src/world/format/io/BaseWorldProvider.php index 6404f641b..bb5491aa4 100644 --- a/src/world/format/io/BaseWorldProvider.php +++ b/src/world/format/io/BaseWorldProvider.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/ChunkData.php b/src/world/format/io/ChunkData.php index 93ce35095..edd28dcbf 100644 --- a/src/world/format/io/ChunkData.php +++ b/src/world/format/io/ChunkData.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/ChunkUtils.php b/src/world/format/io/ChunkUtils.php index 4b49b7b48..b9b366685 100644 --- a/src/world/format/io/ChunkUtils.php +++ b/src/world/format/io/ChunkUtils.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/FastChunkSerializer.php b/src/world/format/io/FastChunkSerializer.php index c8ab53a73..7da8c9ab4 100644 --- a/src/world/format/io/FastChunkSerializer.php +++ b/src/world/format/io/FastChunkSerializer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/FormatConverter.php b/src/world/format/io/FormatConverter.php index b2c2b2afb..48f4d67b9 100644 --- a/src/world/format/io/FormatConverter.php +++ b/src/world/format/io/FormatConverter.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/ReadOnlyWorldProviderManagerEntry.php b/src/world/format/io/ReadOnlyWorldProviderManagerEntry.php index 5b97511bc..2bbc11bf3 100644 --- a/src/world/format/io/ReadOnlyWorldProviderManagerEntry.php +++ b/src/world/format/io/ReadOnlyWorldProviderManagerEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/WorldData.php b/src/world/format/io/WorldData.php index 606e18be2..ba60c1ab8 100644 --- a/src/world/format/io/WorldData.php +++ b/src/world/format/io/WorldData.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/WorldProvider.php b/src/world/format/io/WorldProvider.php index 577bfe876..3d08df860 100644 --- a/src/world/format/io/WorldProvider.php +++ b/src/world/format/io/WorldProvider.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/WorldProviderManager.php b/src/world/format/io/WorldProviderManager.php index db67c6221..4b0ce341b 100644 --- a/src/world/format/io/WorldProviderManager.php +++ b/src/world/format/io/WorldProviderManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/WorldProviderManagerEntry.php b/src/world/format/io/WorldProviderManagerEntry.php index 4e7efa110..96abcd1ea 100644 --- a/src/world/format/io/WorldProviderManagerEntry.php +++ b/src/world/format/io/WorldProviderManagerEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/WritableWorldProvider.php b/src/world/format/io/WritableWorldProvider.php index eda481e3a..8ed1b0c09 100644 --- a/src/world/format/io/WritableWorldProvider.php +++ b/src/world/format/io/WritableWorldProvider.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/WritableWorldProviderManagerEntry.php b/src/world/format/io/WritableWorldProviderManagerEntry.php index f307f911d..2c5b501ed 100644 --- a/src/world/format/io/WritableWorldProviderManagerEntry.php +++ b/src/world/format/io/WritableWorldProviderManagerEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/data/BaseNbtWorldData.php b/src/world/format/io/data/BaseNbtWorldData.php index 43016af0a..3e5ca38f4 100644 --- a/src/world/format/io/data/BaseNbtWorldData.php +++ b/src/world/format/io/data/BaseNbtWorldData.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/data/BedrockWorldData.php b/src/world/format/io/data/BedrockWorldData.php index 80184b9ec..b93acac68 100644 --- a/src/world/format/io/data/BedrockWorldData.php +++ b/src/world/format/io/data/BedrockWorldData.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/data/JavaWorldData.php b/src/world/format/io/data/JavaWorldData.php index e3cb20b6c..e57bbe941 100644 --- a/src/world/format/io/data/JavaWorldData.php +++ b/src/world/format/io/data/JavaWorldData.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/exception/CorruptedChunkException.php b/src/world/format/io/exception/CorruptedChunkException.php index 38dd61f6d..bcc25dadd 100644 --- a/src/world/format/io/exception/CorruptedChunkException.php +++ b/src/world/format/io/exception/CorruptedChunkException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/exception/CorruptedWorldException.php b/src/world/format/io/exception/CorruptedWorldException.php index 982bc5e5f..480f48e29 100644 --- a/src/world/format/io/exception/CorruptedWorldException.php +++ b/src/world/format/io/exception/CorruptedWorldException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/exception/UnsupportedWorldFormatException.php b/src/world/format/io/exception/UnsupportedWorldFormatException.php index d97fb4f45..e34371dc7 100644 --- a/src/world/format/io/exception/UnsupportedWorldFormatException.php +++ b/src/world/format/io/exception/UnsupportedWorldFormatException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/leveldb/ChunkDataKey.php b/src/world/format/io/leveldb/ChunkDataKey.php index 7a2ea2147..6d1b2980c 100644 --- a/src/world/format/io/leveldb/ChunkDataKey.php +++ b/src/world/format/io/leveldb/ChunkDataKey.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/leveldb/ChunkVersion.php b/src/world/format/io/leveldb/ChunkVersion.php index e4fb74526..249e66e3e 100644 --- a/src/world/format/io/leveldb/ChunkVersion.php +++ b/src/world/format/io/leveldb/ChunkVersion.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/leveldb/LevelDB.php b/src/world/format/io/leveldb/LevelDB.php index 671acb6d9..5adcd0103 100644 --- a/src/world/format/io/leveldb/LevelDB.php +++ b/src/world/format/io/leveldb/LevelDB.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/leveldb/SubChunkVersion.php b/src/world/format/io/leveldb/SubChunkVersion.php index d043ad5a0..229889ac1 100644 --- a/src/world/format/io/leveldb/SubChunkVersion.php +++ b/src/world/format/io/leveldb/SubChunkVersion.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/Anvil.php b/src/world/format/io/region/Anvil.php index 12e907d20..6fd00d26a 100644 --- a/src/world/format/io/region/Anvil.php +++ b/src/world/format/io/region/Anvil.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/CorruptedRegionException.php b/src/world/format/io/region/CorruptedRegionException.php index 93604f70d..7e6062841 100644 --- a/src/world/format/io/region/CorruptedRegionException.php +++ b/src/world/format/io/region/CorruptedRegionException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/LegacyAnvilChunkTrait.php b/src/world/format/io/region/LegacyAnvilChunkTrait.php index 7debb29ba..8d4f8ddf4 100644 --- a/src/world/format/io/region/LegacyAnvilChunkTrait.php +++ b/src/world/format/io/region/LegacyAnvilChunkTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/McRegion.php b/src/world/format/io/region/McRegion.php index bf1597364..184436e04 100644 --- a/src/world/format/io/region/McRegion.php +++ b/src/world/format/io/region/McRegion.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/PMAnvil.php b/src/world/format/io/region/PMAnvil.php index 299d597c9..7baa47348 100644 --- a/src/world/format/io/region/PMAnvil.php +++ b/src/world/format/io/region/PMAnvil.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/RegionException.php b/src/world/format/io/region/RegionException.php index 44cb1ff5f..79f5aad66 100644 --- a/src/world/format/io/region/RegionException.php +++ b/src/world/format/io/region/RegionException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/RegionGarbageMap.php b/src/world/format/io/region/RegionGarbageMap.php index b07b2f111..d1e950452 100644 --- a/src/world/format/io/region/RegionGarbageMap.php +++ b/src/world/format/io/region/RegionGarbageMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/RegionLoader.php b/src/world/format/io/region/RegionLoader.php index 449052454..92848c6b5 100644 --- a/src/world/format/io/region/RegionLoader.php +++ b/src/world/format/io/region/RegionLoader.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/RegionLocationTableEntry.php b/src/world/format/io/region/RegionLocationTableEntry.php index 7ff00f6d0..abb92accf 100644 --- a/src/world/format/io/region/RegionLocationTableEntry.php +++ b/src/world/format/io/region/RegionLocationTableEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/RegionWorldProvider.php b/src/world/format/io/region/RegionWorldProvider.php index 25fcf65b3..91a7937a6 100644 --- a/src/world/format/io/region/RegionWorldProvider.php +++ b/src/world/format/io/region/RegionWorldProvider.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/format/io/region/WritableRegionWorldProvider.php b/src/world/format/io/region/WritableRegionWorldProvider.php index ae4c5ee06..fd4399474 100644 --- a/src/world/format/io/region/WritableRegionWorldProvider.php +++ b/src/world/format/io/region/WritableRegionWorldProvider.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/Flat.php b/src/world/generator/Flat.php index 29420030f..12dbc4bd0 100644 --- a/src/world/generator/Flat.php +++ b/src/world/generator/Flat.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/FlatGeneratorOptions.php b/src/world/generator/FlatGeneratorOptions.php index dee3ee78f..b5b39a4b7 100644 --- a/src/world/generator/FlatGeneratorOptions.php +++ b/src/world/generator/FlatGeneratorOptions.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/Gaussian.php b/src/world/generator/Gaussian.php index cfa24626e..4032d1c55 100644 --- a/src/world/generator/Gaussian.php +++ b/src/world/generator/Gaussian.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/Generator.php b/src/world/generator/Generator.php index acc8cc88f..234fdea6a 100644 --- a/src/world/generator/Generator.php +++ b/src/world/generator/Generator.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/GeneratorManager.php b/src/world/generator/GeneratorManager.php index 4bc427da4..e94d2336a 100644 --- a/src/world/generator/GeneratorManager.php +++ b/src/world/generator/GeneratorManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/GeneratorManagerEntry.php b/src/world/generator/GeneratorManagerEntry.php index 41611f384..256ed27d5 100644 --- a/src/world/generator/GeneratorManagerEntry.php +++ b/src/world/generator/GeneratorManagerEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/GeneratorRegisterTask.php b/src/world/generator/GeneratorRegisterTask.php index b8b2ea67d..547cb0d32 100644 --- a/src/world/generator/GeneratorRegisterTask.php +++ b/src/world/generator/GeneratorRegisterTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/GeneratorUnregisterTask.php b/src/world/generator/GeneratorUnregisterTask.php index c9022e9e2..2ad9ae52b 100644 --- a/src/world/generator/GeneratorUnregisterTask.php +++ b/src/world/generator/GeneratorUnregisterTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/InvalidGeneratorOptionsException.php b/src/world/generator/InvalidGeneratorOptionsException.php index b6274f91b..771c39105 100644 --- a/src/world/generator/InvalidGeneratorOptionsException.php +++ b/src/world/generator/InvalidGeneratorOptionsException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/PopulationTask.php b/src/world/generator/PopulationTask.php index 86a14f098..b2e3d610c 100644 --- a/src/world/generator/PopulationTask.php +++ b/src/world/generator/PopulationTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/ThreadLocalGeneratorContext.php b/src/world/generator/ThreadLocalGeneratorContext.php index 1fd120437..bcf99882b 100644 --- a/src/world/generator/ThreadLocalGeneratorContext.php +++ b/src/world/generator/ThreadLocalGeneratorContext.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/biome/BiomeSelector.php b/src/world/generator/biome/BiomeSelector.php index 9b39a339e..99da6cc86 100644 --- a/src/world/generator/biome/BiomeSelector.php +++ b/src/world/generator/biome/BiomeSelector.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/hell/Nether.php b/src/world/generator/hell/Nether.php index bffdc1389..8e75b0d3b 100644 --- a/src/world/generator/hell/Nether.php +++ b/src/world/generator/hell/Nether.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/noise/Noise.php b/src/world/generator/noise/Noise.php index 1d0b7b3b1..31d743dc1 100644 --- a/src/world/generator/noise/Noise.php +++ b/src/world/generator/noise/Noise.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/noise/Simplex.php b/src/world/generator/noise/Simplex.php index 71ef32cff..7d8953a8b 100644 --- a/src/world/generator/noise/Simplex.php +++ b/src/world/generator/noise/Simplex.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/normal/Normal.php b/src/world/generator/normal/Normal.php index 607bec4c4..2a89d1e61 100644 --- a/src/world/generator/normal/Normal.php +++ b/src/world/generator/normal/Normal.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/object/BirchTree.php b/src/world/generator/object/BirchTree.php index 5bd0b98ff..671ebe3a4 100644 --- a/src/world/generator/object/BirchTree.php +++ b/src/world/generator/object/BirchTree.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/object/JungleTree.php b/src/world/generator/object/JungleTree.php index de687b920..53d599dbe 100644 --- a/src/world/generator/object/JungleTree.php +++ b/src/world/generator/object/JungleTree.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/object/OakTree.php b/src/world/generator/object/OakTree.php index d273d2ae5..f37a74ca9 100644 --- a/src/world/generator/object/OakTree.php +++ b/src/world/generator/object/OakTree.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/object/Ore.php b/src/world/generator/object/Ore.php index e534545c0..ac7e6f0fc 100644 --- a/src/world/generator/object/Ore.php +++ b/src/world/generator/object/Ore.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/object/OreType.php b/src/world/generator/object/OreType.php index 96c46b8d7..58061323e 100644 --- a/src/world/generator/object/OreType.php +++ b/src/world/generator/object/OreType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/object/SpruceTree.php b/src/world/generator/object/SpruceTree.php index acac1210a..0a0f208fe 100644 --- a/src/world/generator/object/SpruceTree.php +++ b/src/world/generator/object/SpruceTree.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/object/TallGrass.php b/src/world/generator/object/TallGrass.php index 8fe70e0c8..5de9ec3de 100644 --- a/src/world/generator/object/TallGrass.php +++ b/src/world/generator/object/TallGrass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/object/Tree.php b/src/world/generator/object/Tree.php index 9b032ad95..397f2aca3 100644 --- a/src/world/generator/object/Tree.php +++ b/src/world/generator/object/Tree.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/object/TreeFactory.php b/src/world/generator/object/TreeFactory.php index 692181738..741ceacf9 100644 --- a/src/world/generator/object/TreeFactory.php +++ b/src/world/generator/object/TreeFactory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/populator/GroundCover.php b/src/world/generator/populator/GroundCover.php index 7a72e021c..0095aa64f 100644 --- a/src/world/generator/populator/GroundCover.php +++ b/src/world/generator/populator/GroundCover.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/populator/Ore.php b/src/world/generator/populator/Ore.php index ab487db04..62ba64fe8 100644 --- a/src/world/generator/populator/Ore.php +++ b/src/world/generator/populator/Ore.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/populator/Populator.php b/src/world/generator/populator/Populator.php index 87e734ec0..0ac72c55d 100644 --- a/src/world/generator/populator/Populator.php +++ b/src/world/generator/populator/Populator.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/populator/TallGrass.php b/src/world/generator/populator/TallGrass.php index de8d0b675..59d9f6a44 100644 --- a/src/world/generator/populator/TallGrass.php +++ b/src/world/generator/populator/TallGrass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/generator/populator/Tree.php b/src/world/generator/populator/Tree.php index b0a2214b8..7cd1d14a6 100644 --- a/src/world/generator/populator/Tree.php +++ b/src/world/generator/populator/Tree.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/light/BlockLightUpdate.php b/src/world/light/BlockLightUpdate.php index 5f6d21faa..3e5ae01d6 100644 --- a/src/world/light/BlockLightUpdate.php +++ b/src/world/light/BlockLightUpdate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/light/LightPopulationTask.php b/src/world/light/LightPopulationTask.php index 94c66e686..34ad841af 100644 --- a/src/world/light/LightPopulationTask.php +++ b/src/world/light/LightPopulationTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/light/LightPropagationContext.php b/src/world/light/LightPropagationContext.php index a13e5ae20..47b61bcee 100644 --- a/src/world/light/LightPropagationContext.php +++ b/src/world/light/LightPropagationContext.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/light/LightUpdate.php b/src/world/light/LightUpdate.php index 9570b8e03..b75c2812f 100644 --- a/src/world/light/LightUpdate.php +++ b/src/world/light/LightUpdate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/light/SkyLightUpdate.php b/src/world/light/SkyLightUpdate.php index faf8d1a6c..d3416832c 100644 --- a/src/world/light/SkyLightUpdate.php +++ b/src/world/light/SkyLightUpdate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/AngryVillagerParticle.php b/src/world/particle/AngryVillagerParticle.php index 67e7805ab..7ae4a5784 100644 --- a/src/world/particle/AngryVillagerParticle.php +++ b/src/world/particle/AngryVillagerParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/BlockBreakParticle.php b/src/world/particle/BlockBreakParticle.php index d45f0f631..8801686e2 100644 --- a/src/world/particle/BlockBreakParticle.php +++ b/src/world/particle/BlockBreakParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/BlockForceFieldParticle.php b/src/world/particle/BlockForceFieldParticle.php index 282563305..02759b8b0 100644 --- a/src/world/particle/BlockForceFieldParticle.php +++ b/src/world/particle/BlockForceFieldParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/BlockPunchParticle.php b/src/world/particle/BlockPunchParticle.php index 2b00e1a26..d9ddad209 100644 --- a/src/world/particle/BlockPunchParticle.php +++ b/src/world/particle/BlockPunchParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/BubbleParticle.php b/src/world/particle/BubbleParticle.php index 90336a923..8f3b7ea9c 100644 --- a/src/world/particle/BubbleParticle.php +++ b/src/world/particle/BubbleParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/CriticalParticle.php b/src/world/particle/CriticalParticle.php index 4d26b9709..2760fa4ee 100644 --- a/src/world/particle/CriticalParticle.php +++ b/src/world/particle/CriticalParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/DragonEggTeleportParticle.php b/src/world/particle/DragonEggTeleportParticle.php index bfa45249c..d3e3b5615 100644 --- a/src/world/particle/DragonEggTeleportParticle.php +++ b/src/world/particle/DragonEggTeleportParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/DustParticle.php b/src/world/particle/DustParticle.php index c28b9655d..e54acd3a2 100644 --- a/src/world/particle/DustParticle.php +++ b/src/world/particle/DustParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/EnchantParticle.php b/src/world/particle/EnchantParticle.php index a8f7a3d1f..74ec173c1 100644 --- a/src/world/particle/EnchantParticle.php +++ b/src/world/particle/EnchantParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/EnchantmentTableParticle.php b/src/world/particle/EnchantmentTableParticle.php index 86a86f572..fb5371496 100644 --- a/src/world/particle/EnchantmentTableParticle.php +++ b/src/world/particle/EnchantmentTableParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/EndermanTeleportParticle.php b/src/world/particle/EndermanTeleportParticle.php index f370e4487..8dda156be 100644 --- a/src/world/particle/EndermanTeleportParticle.php +++ b/src/world/particle/EndermanTeleportParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/EntityFlameParticle.php b/src/world/particle/EntityFlameParticle.php index 3f5a98740..3b794139e 100644 --- a/src/world/particle/EntityFlameParticle.php +++ b/src/world/particle/EntityFlameParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/ExplodeParticle.php b/src/world/particle/ExplodeParticle.php index d3e8b566c..86116dc09 100644 --- a/src/world/particle/ExplodeParticle.php +++ b/src/world/particle/ExplodeParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/FlameParticle.php b/src/world/particle/FlameParticle.php index d713df67c..ae53c4639 100644 --- a/src/world/particle/FlameParticle.php +++ b/src/world/particle/FlameParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/FloatingTextParticle.php b/src/world/particle/FloatingTextParticle.php index a8358ce81..97baccbf4 100644 --- a/src/world/particle/FloatingTextParticle.php +++ b/src/world/particle/FloatingTextParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/HappyVillagerParticle.php b/src/world/particle/HappyVillagerParticle.php index d405a6037..26e58c348 100644 --- a/src/world/particle/HappyVillagerParticle.php +++ b/src/world/particle/HappyVillagerParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/HeartParticle.php b/src/world/particle/HeartParticle.php index 2552baa6a..f85d5ed3c 100644 --- a/src/world/particle/HeartParticle.php +++ b/src/world/particle/HeartParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/HugeExplodeParticle.php b/src/world/particle/HugeExplodeParticle.php index 3f1c109f9..9b6033787 100644 --- a/src/world/particle/HugeExplodeParticle.php +++ b/src/world/particle/HugeExplodeParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/HugeExplodeSeedParticle.php b/src/world/particle/HugeExplodeSeedParticle.php index e35fbc94f..b1211e9d0 100644 --- a/src/world/particle/HugeExplodeSeedParticle.php +++ b/src/world/particle/HugeExplodeSeedParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/InkParticle.php b/src/world/particle/InkParticle.php index 7eb072211..4fb90bf0c 100644 --- a/src/world/particle/InkParticle.php +++ b/src/world/particle/InkParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/InstantEnchantParticle.php b/src/world/particle/InstantEnchantParticle.php index 1a4e71abf..852fb6101 100644 --- a/src/world/particle/InstantEnchantParticle.php +++ b/src/world/particle/InstantEnchantParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/ItemBreakParticle.php b/src/world/particle/ItemBreakParticle.php index 52cde332a..5d9f86abd 100644 --- a/src/world/particle/ItemBreakParticle.php +++ b/src/world/particle/ItemBreakParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/LavaDripParticle.php b/src/world/particle/LavaDripParticle.php index 904d5257b..4816364ec 100644 --- a/src/world/particle/LavaDripParticle.php +++ b/src/world/particle/LavaDripParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/LavaParticle.php b/src/world/particle/LavaParticle.php index dcf9572a9..45b2999af 100644 --- a/src/world/particle/LavaParticle.php +++ b/src/world/particle/LavaParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/MobSpawnParticle.php b/src/world/particle/MobSpawnParticle.php index 07706888e..cb1aed68b 100644 --- a/src/world/particle/MobSpawnParticle.php +++ b/src/world/particle/MobSpawnParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/Particle.php b/src/world/particle/Particle.php index 009bb948d..b3bf981b1 100644 --- a/src/world/particle/Particle.php +++ b/src/world/particle/Particle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/PortalParticle.php b/src/world/particle/PortalParticle.php index 627ff969a..e4b681a28 100644 --- a/src/world/particle/PortalParticle.php +++ b/src/world/particle/PortalParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/PotionSplashParticle.php b/src/world/particle/PotionSplashParticle.php index 6c7ce1c90..60268ae85 100644 --- a/src/world/particle/PotionSplashParticle.php +++ b/src/world/particle/PotionSplashParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/RainSplashParticle.php b/src/world/particle/RainSplashParticle.php index 8ba67a4ed..5ad165026 100644 --- a/src/world/particle/RainSplashParticle.php +++ b/src/world/particle/RainSplashParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/RedstoneParticle.php b/src/world/particle/RedstoneParticle.php index d3fdef581..29524f4a8 100644 --- a/src/world/particle/RedstoneParticle.php +++ b/src/world/particle/RedstoneParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/SmokeParticle.php b/src/world/particle/SmokeParticle.php index f91f4a1ad..b76a6f670 100644 --- a/src/world/particle/SmokeParticle.php +++ b/src/world/particle/SmokeParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/SnowballPoofParticle.php b/src/world/particle/SnowballPoofParticle.php index 1d764238e..97eadb54f 100644 --- a/src/world/particle/SnowballPoofParticle.php +++ b/src/world/particle/SnowballPoofParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/SplashParticle.php b/src/world/particle/SplashParticle.php index dbc397122..dfd821e6c 100644 --- a/src/world/particle/SplashParticle.php +++ b/src/world/particle/SplashParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/SporeParticle.php b/src/world/particle/SporeParticle.php index 472cb6b1b..5da80d803 100644 --- a/src/world/particle/SporeParticle.php +++ b/src/world/particle/SporeParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/TerrainParticle.php b/src/world/particle/TerrainParticle.php index 829b03adf..863b84401 100644 --- a/src/world/particle/TerrainParticle.php +++ b/src/world/particle/TerrainParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/WaterDripParticle.php b/src/world/particle/WaterDripParticle.php index a1072dc6e..c46553a90 100644 --- a/src/world/particle/WaterDripParticle.php +++ b/src/world/particle/WaterDripParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/particle/WaterParticle.php b/src/world/particle/WaterParticle.php index 93ef6efb7..fde30438e 100644 --- a/src/world/particle/WaterParticle.php +++ b/src/world/particle/WaterParticle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/AnvilBreakSound.php b/src/world/sound/AnvilBreakSound.php index e57c0e02b..b397efb81 100644 --- a/src/world/sound/AnvilBreakSound.php +++ b/src/world/sound/AnvilBreakSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/AnvilFallSound.php b/src/world/sound/AnvilFallSound.php index fd6efc7fe..af3b3d099 100644 --- a/src/world/sound/AnvilFallSound.php +++ b/src/world/sound/AnvilFallSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/AnvilUseSound.php b/src/world/sound/AnvilUseSound.php index b384c8624..07ff2ed5a 100644 --- a/src/world/sound/AnvilUseSound.php +++ b/src/world/sound/AnvilUseSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ArrowHitSound.php b/src/world/sound/ArrowHitSound.php index abfdfc4a4..35187a721 100644 --- a/src/world/sound/ArrowHitSound.php +++ b/src/world/sound/ArrowHitSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BarrelCloseSound.php b/src/world/sound/BarrelCloseSound.php index be2bdaf79..1dd22ca20 100644 --- a/src/world/sound/BarrelCloseSound.php +++ b/src/world/sound/BarrelCloseSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BarrelOpenSound.php b/src/world/sound/BarrelOpenSound.php index ee695060c..05eddd598 100644 --- a/src/world/sound/BarrelOpenSound.php +++ b/src/world/sound/BarrelOpenSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BellRingSound.php b/src/world/sound/BellRingSound.php index c2a45a561..64ed49b6f 100644 --- a/src/world/sound/BellRingSound.php +++ b/src/world/sound/BellRingSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BlastFurnaceSound.php b/src/world/sound/BlastFurnaceSound.php index c7846e6c5..a9c41afd1 100644 --- a/src/world/sound/BlastFurnaceSound.php +++ b/src/world/sound/BlastFurnaceSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BlazeShootSound.php b/src/world/sound/BlazeShootSound.php index a86c09344..5faa6cd60 100644 --- a/src/world/sound/BlazeShootSound.php +++ b/src/world/sound/BlazeShootSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BlockBreakSound.php b/src/world/sound/BlockBreakSound.php index ccebeb126..2075518e0 100644 --- a/src/world/sound/BlockBreakSound.php +++ b/src/world/sound/BlockBreakSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BlockPlaceSound.php b/src/world/sound/BlockPlaceSound.php index 20c02a44e..000dadd67 100644 --- a/src/world/sound/BlockPlaceSound.php +++ b/src/world/sound/BlockPlaceSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BlockPunchSound.php b/src/world/sound/BlockPunchSound.php index 0c28ccfb8..28ab73c94 100644 --- a/src/world/sound/BlockPunchSound.php +++ b/src/world/sound/BlockPunchSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BowShootSound.php b/src/world/sound/BowShootSound.php index 2b595972f..dcd33b76d 100644 --- a/src/world/sound/BowShootSound.php +++ b/src/world/sound/BowShootSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BucketEmptyLavaSound.php b/src/world/sound/BucketEmptyLavaSound.php index e3e991597..5988012ec 100644 --- a/src/world/sound/BucketEmptyLavaSound.php +++ b/src/world/sound/BucketEmptyLavaSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BucketEmptyWaterSound.php b/src/world/sound/BucketEmptyWaterSound.php index b80b90311..d536a5497 100644 --- a/src/world/sound/BucketEmptyWaterSound.php +++ b/src/world/sound/BucketEmptyWaterSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BucketFillLavaSound.php b/src/world/sound/BucketFillLavaSound.php index 0315c8a8e..107e4fc26 100644 --- a/src/world/sound/BucketFillLavaSound.php +++ b/src/world/sound/BucketFillLavaSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/BucketFillWaterSound.php b/src/world/sound/BucketFillWaterSound.php index 431435788..d00107679 100644 --- a/src/world/sound/BucketFillWaterSound.php +++ b/src/world/sound/BucketFillWaterSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ChestCloseSound.php b/src/world/sound/ChestCloseSound.php index e1c15e523..5ac7edace 100644 --- a/src/world/sound/ChestCloseSound.php +++ b/src/world/sound/ChestCloseSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ChestOpenSound.php b/src/world/sound/ChestOpenSound.php index 0e835d5fa..896c67c2f 100644 --- a/src/world/sound/ChestOpenSound.php +++ b/src/world/sound/ChestOpenSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ClickSound.php b/src/world/sound/ClickSound.php index 1ac8e18c9..b13411f81 100644 --- a/src/world/sound/ClickSound.php +++ b/src/world/sound/ClickSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/DoorBumpSound.php b/src/world/sound/DoorBumpSound.php index 86ed0f339..7c98ab1d7 100644 --- a/src/world/sound/DoorBumpSound.php +++ b/src/world/sound/DoorBumpSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/DoorCrashSound.php b/src/world/sound/DoorCrashSound.php index 3259c4889..1f4f9800f 100644 --- a/src/world/sound/DoorCrashSound.php +++ b/src/world/sound/DoorCrashSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/DoorSound.php b/src/world/sound/DoorSound.php index 598d44d45..505422f22 100644 --- a/src/world/sound/DoorSound.php +++ b/src/world/sound/DoorSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/EnderChestCloseSound.php b/src/world/sound/EnderChestCloseSound.php index 3b7269821..8eb77a8ac 100644 --- a/src/world/sound/EnderChestCloseSound.php +++ b/src/world/sound/EnderChestCloseSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/EnderChestOpenSound.php b/src/world/sound/EnderChestOpenSound.php index 6d88ac1f5..78cd8d54d 100644 --- a/src/world/sound/EnderChestOpenSound.php +++ b/src/world/sound/EnderChestOpenSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/EndermanTeleportSound.php b/src/world/sound/EndermanTeleportSound.php index a5857aab2..c6dfd12e1 100644 --- a/src/world/sound/EndermanTeleportSound.php +++ b/src/world/sound/EndermanTeleportSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/EntityAttackNoDamageSound.php b/src/world/sound/EntityAttackNoDamageSound.php index d329147f6..6804c668e 100644 --- a/src/world/sound/EntityAttackNoDamageSound.php +++ b/src/world/sound/EntityAttackNoDamageSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/EntityAttackSound.php b/src/world/sound/EntityAttackSound.php index 289f2d597..bf1877444 100644 --- a/src/world/sound/EntityAttackSound.php +++ b/src/world/sound/EntityAttackSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/EntityLandSound.php b/src/world/sound/EntityLandSound.php index 5610cbfd2..6412e6ab0 100644 --- a/src/world/sound/EntityLandSound.php +++ b/src/world/sound/EntityLandSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/EntityLongFallSound.php b/src/world/sound/EntityLongFallSound.php index 1ad842dfa..e0dabe3a5 100644 --- a/src/world/sound/EntityLongFallSound.php +++ b/src/world/sound/EntityLongFallSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/EntityShortFallSound.php b/src/world/sound/EntityShortFallSound.php index 86d873940..8955c3552 100644 --- a/src/world/sound/EntityShortFallSound.php +++ b/src/world/sound/EntityShortFallSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ExplodeSound.php b/src/world/sound/ExplodeSound.php index b20f5a359..c2e25f82e 100644 --- a/src/world/sound/ExplodeSound.php +++ b/src/world/sound/ExplodeSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/FireExtinguishSound.php b/src/world/sound/FireExtinguishSound.php index a4f02fb03..aee03e4d0 100644 --- a/src/world/sound/FireExtinguishSound.php +++ b/src/world/sound/FireExtinguishSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/FizzSound.php b/src/world/sound/FizzSound.php index 035d51280..62ffeb545 100644 --- a/src/world/sound/FizzSound.php +++ b/src/world/sound/FizzSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/FlintSteelSound.php b/src/world/sound/FlintSteelSound.php index 7edd564cf..c4c426f04 100644 --- a/src/world/sound/FlintSteelSound.php +++ b/src/world/sound/FlintSteelSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/FurnaceSound.php b/src/world/sound/FurnaceSound.php index 0576837c1..b83219f8f 100644 --- a/src/world/sound/FurnaceSound.php +++ b/src/world/sound/FurnaceSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/GhastShootSound.php b/src/world/sound/GhastShootSound.php index 3dae9758f..971412144 100644 --- a/src/world/sound/GhastShootSound.php +++ b/src/world/sound/GhastShootSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/GhastSound.php b/src/world/sound/GhastSound.php index d62413dac..d7e5d2098 100644 --- a/src/world/sound/GhastSound.php +++ b/src/world/sound/GhastSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/IgniteSound.php b/src/world/sound/IgniteSound.php index 05f443123..3756f2f05 100644 --- a/src/world/sound/IgniteSound.php +++ b/src/world/sound/IgniteSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ItemBreakSound.php b/src/world/sound/ItemBreakSound.php index 98ee24c8b..f2538d356 100644 --- a/src/world/sound/ItemBreakSound.php +++ b/src/world/sound/ItemBreakSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ItemUseOnBlockSound.php b/src/world/sound/ItemUseOnBlockSound.php index cdebc2c64..3e090a905 100644 --- a/src/world/sound/ItemUseOnBlockSound.php +++ b/src/world/sound/ItemUseOnBlockSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/LaunchSound.php b/src/world/sound/LaunchSound.php index e50c27cf9..77b0463de 100644 --- a/src/world/sound/LaunchSound.php +++ b/src/world/sound/LaunchSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/LecternPlaceBookSound.php b/src/world/sound/LecternPlaceBookSound.php index f7cf5df7e..2f81b32ae 100644 --- a/src/world/sound/LecternPlaceBookSound.php +++ b/src/world/sound/LecternPlaceBookSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/NoteInstrument.php b/src/world/sound/NoteInstrument.php index d4077d31d..06053c566 100644 --- a/src/world/sound/NoteInstrument.php +++ b/src/world/sound/NoteInstrument.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/NoteSound.php b/src/world/sound/NoteSound.php index a3a788a57..b0459bdbe 100644 --- a/src/world/sound/NoteSound.php +++ b/src/world/sound/NoteSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/PaintingPlaceSound.php b/src/world/sound/PaintingPlaceSound.php index 2363299f3..0792eb99c 100644 --- a/src/world/sound/PaintingPlaceSound.php +++ b/src/world/sound/PaintingPlaceSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/PopSound.php b/src/world/sound/PopSound.php index a3fd57ae2..fc10e06fb 100644 --- a/src/world/sound/PopSound.php +++ b/src/world/sound/PopSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/PotionFinishBrewingSound.php b/src/world/sound/PotionFinishBrewingSound.php index 5f292687b..1652f9489 100644 --- a/src/world/sound/PotionFinishBrewingSound.php +++ b/src/world/sound/PotionFinishBrewingSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/PotionSplashSound.php b/src/world/sound/PotionSplashSound.php index 083e8e021..5e5d1e821 100644 --- a/src/world/sound/PotionSplashSound.php +++ b/src/world/sound/PotionSplashSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/RecordSound.php b/src/world/sound/RecordSound.php index 97232725f..f569b2d97 100644 --- a/src/world/sound/RecordSound.php +++ b/src/world/sound/RecordSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/RecordStopSound.php b/src/world/sound/RecordStopSound.php index 0f2b7dcc9..15ed7dd8f 100644 --- a/src/world/sound/RecordStopSound.php +++ b/src/world/sound/RecordStopSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/RedstonePowerOffSound.php b/src/world/sound/RedstonePowerOffSound.php index d32ef391e..ac3b1eacb 100644 --- a/src/world/sound/RedstonePowerOffSound.php +++ b/src/world/sound/RedstonePowerOffSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/RedstonePowerOnSound.php b/src/world/sound/RedstonePowerOnSound.php index 3c98832ee..5d1c8e3b2 100644 --- a/src/world/sound/RedstonePowerOnSound.php +++ b/src/world/sound/RedstonePowerOnSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ShulkerBoxCloseSound.php b/src/world/sound/ShulkerBoxCloseSound.php index 6c8ace783..74a080ed3 100644 --- a/src/world/sound/ShulkerBoxCloseSound.php +++ b/src/world/sound/ShulkerBoxCloseSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ShulkerBoxOpenSound.php b/src/world/sound/ShulkerBoxOpenSound.php index 9aafb95ce..39012fe7c 100644 --- a/src/world/sound/ShulkerBoxOpenSound.php +++ b/src/world/sound/ShulkerBoxOpenSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/SmokerSound.php b/src/world/sound/SmokerSound.php index 19cb29dce..707d93593 100644 --- a/src/world/sound/SmokerSound.php +++ b/src/world/sound/SmokerSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/Sound.php b/src/world/sound/Sound.php index 19074e256..6ee0d93a6 100644 --- a/src/world/sound/Sound.php +++ b/src/world/sound/Sound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/ThrowSound.php b/src/world/sound/ThrowSound.php index 5ac34cbe6..ebf64725e 100644 --- a/src/world/sound/ThrowSound.php +++ b/src/world/sound/ThrowSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/TotemUseSound.php b/src/world/sound/TotemUseSound.php index 7d82c3110..2d3730df4 100644 --- a/src/world/sound/TotemUseSound.php +++ b/src/world/sound/TotemUseSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/XpCollectSound.php b/src/world/sound/XpCollectSound.php index bbf60041b..d4447901b 100644 --- a/src/world/sound/XpCollectSound.php +++ b/src/world/sound/XpCollectSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/sound/XpLevelUpSound.php b/src/world/sound/XpLevelUpSound.php index 4e20a067c..3fc5b4a06 100644 --- a/src/world/sound/XpLevelUpSound.php +++ b/src/world/sound/XpLevelUpSound.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/utils/SubChunkExplorer.php b/src/world/utils/SubChunkExplorer.php index 1a52dd9cb..84a58cf3b 100644 --- a/src/world/utils/SubChunkExplorer.php +++ b/src/world/utils/SubChunkExplorer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/world/utils/SubChunkExplorerStatus.php b/src/world/utils/SubChunkExplorerStatus.php index 43b32f1fa..342852467 100644 --- a/src/world/utils/SubChunkExplorerStatus.php +++ b/src/world/utils/SubChunkExplorerStatus.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpstan/bootstrap.php b/tests/phpstan/bootstrap.php index 1fef2325c..b7872fc30 100644 --- a/tests/phpstan/bootstrap.php +++ b/tests/phpstan/bootstrap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpstan/rules/DisallowEnumComparisonRule.php b/tests/phpstan/rules/DisallowEnumComparisonRule.php index ec5ad3528..fc5377173 100644 --- a/tests/phpstan/rules/DisallowEnumComparisonRule.php +++ b/tests/phpstan/rules/DisallowEnumComparisonRule.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpstan/rules/UnsafeForeachArrayOfStringRule.php b/tests/phpstan/rules/UnsafeForeachArrayOfStringRule.php index 269dcc48b..d53baa365 100644 --- a/tests/phpstan/rules/UnsafeForeachArrayOfStringRule.php +++ b/tests/phpstan/rules/UnsafeForeachArrayOfStringRule.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/block/BlockTest.php b/tests/phpunit/block/BlockTest.php index 8e101bc0f..c8fbf513f 100644 --- a/tests/phpunit/block/BlockTest.php +++ b/tests/phpunit/block/BlockTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/block/BrewingStandTest.php b/tests/phpunit/block/BrewingStandTest.php index 9f4a8d5e3..58be37470 100644 --- a/tests/phpunit/block/BrewingStandTest.php +++ b/tests/phpunit/block/BrewingStandTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/block/MyCustomBlock.php b/tests/phpunit/block/MyCustomBlock.php index d0df0261d..e130e7a90 100644 --- a/tests/phpunit/block/MyCustomBlock.php +++ b/tests/phpunit/block/MyCustomBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/block/OutOfBoundsBlock.php b/tests/phpunit/block/OutOfBoundsBlock.php index b9d43c41c..21cbf9a9f 100644 --- a/tests/phpunit/block/OutOfBoundsBlock.php +++ b/tests/phpunit/block/OutOfBoundsBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/block/StrangeNewBlock.php b/tests/phpunit/block/StrangeNewBlock.php index c505184d0..3ff987991 100644 --- a/tests/phpunit/block/StrangeNewBlock.php +++ b/tests/phpunit/block/StrangeNewBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/block/regenerate_consistency_check.php b/tests/phpunit/block/regenerate_consistency_check.php index c18b94532..38fd2afb3 100644 --- a/tests/phpunit/block/regenerate_consistency_check.php +++ b/tests/phpunit/block/regenerate_consistency_check.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/block/utils/SignTextTest.php b/tests/phpunit/block/utils/SignTextTest.php index 3d0c611a1..ef7863d82 100644 --- a/tests/phpunit/block/utils/SignTextTest.php +++ b/tests/phpunit/block/utils/SignTextTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/command/utils/CommandStringHelperTest.php b/tests/phpunit/command/utils/CommandStringHelperTest.php index d679e2057..0b8502348 100644 --- a/tests/phpunit/command/utils/CommandStringHelperTest.php +++ b/tests/phpunit/command/utils/CommandStringHelperTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/data/bedrock/CoralTypeIdMapTest.php b/tests/phpunit/data/bedrock/CoralTypeIdMapTest.php index e0e77297e..edd686cd0 100644 --- a/tests/phpunit/data/bedrock/CoralTypeIdMapTest.php +++ b/tests/phpunit/data/bedrock/CoralTypeIdMapTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/data/bedrock/DyeColorIdMapTest.php b/tests/phpunit/data/bedrock/DyeColorIdMapTest.php index 757cf7921..b5561019f 100644 --- a/tests/phpunit/data/bedrock/DyeColorIdMapTest.php +++ b/tests/phpunit/data/bedrock/DyeColorIdMapTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/data/bedrock/EffectIdMapTest.php b/tests/phpunit/data/bedrock/EffectIdMapTest.php index 51b5c4d74..200ee24d4 100644 --- a/tests/phpunit/data/bedrock/EffectIdMapTest.php +++ b/tests/phpunit/data/bedrock/EffectIdMapTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/data/bedrock/EnchantmentIdMapTest.php b/tests/phpunit/data/bedrock/EnchantmentIdMapTest.php index eb1f35381..a5597b74f 100644 --- a/tests/phpunit/data/bedrock/EnchantmentIdMapTest.php +++ b/tests/phpunit/data/bedrock/EnchantmentIdMapTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/event/HandlerListManagerTest.php b/tests/phpunit/event/HandlerListManagerTest.php index 7adff6756..6d728151b 100644 --- a/tests/phpunit/event/HandlerListManagerTest.php +++ b/tests/phpunit/event/HandlerListManagerTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/event/TestAbstractAllowHandleEvent.php b/tests/phpunit/event/TestAbstractAllowHandleEvent.php index 382660714..1bac06bbb 100644 --- a/tests/phpunit/event/TestAbstractAllowHandleEvent.php +++ b/tests/phpunit/event/TestAbstractAllowHandleEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/event/TestAbstractEvent.php b/tests/phpunit/event/TestAbstractEvent.php index 8cdf0e74d..92a95363e 100644 --- a/tests/phpunit/event/TestAbstractEvent.php +++ b/tests/phpunit/event/TestAbstractEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/event/TestConcreteEvent.php b/tests/phpunit/event/TestConcreteEvent.php index dc737974f..8b159df91 100644 --- a/tests/phpunit/event/TestConcreteEvent.php +++ b/tests/phpunit/event/TestConcreteEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/event/TestConcreteExtendsAbstractEvent.php b/tests/phpunit/event/TestConcreteExtendsAbstractEvent.php index b8a64506d..3f0fa572f 100644 --- a/tests/phpunit/event/TestConcreteExtendsAbstractEvent.php +++ b/tests/phpunit/event/TestConcreteExtendsAbstractEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/event/TestConcreteExtendsAllowHandleEvent.php b/tests/phpunit/event/TestConcreteExtendsAllowHandleEvent.php index 7234a188d..e41465121 100644 --- a/tests/phpunit/event/TestConcreteExtendsAllowHandleEvent.php +++ b/tests/phpunit/event/TestConcreteExtendsAllowHandleEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/event/TestConcreteExtendsConcreteEvent.php b/tests/phpunit/event/TestConcreteExtendsConcreteEvent.php index 7a365ebe1..cc9558935 100644 --- a/tests/phpunit/event/TestConcreteExtendsConcreteEvent.php +++ b/tests/phpunit/event/TestConcreteExtendsConcreteEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/inventory/BaseInventoryTest.php b/tests/phpunit/inventory/BaseInventoryTest.php index 39ddd34ac..6600da814 100644 --- a/tests/phpunit/inventory/BaseInventoryTest.php +++ b/tests/phpunit/inventory/BaseInventoryTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/item/BannerTest.php b/tests/phpunit/item/BannerTest.php index 1aafa82a2..c555031a0 100644 --- a/tests/phpunit/item/BannerTest.php +++ b/tests/phpunit/item/BannerTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/item/ItemFactoryTest.php b/tests/phpunit/item/ItemFactoryTest.php index da8533f66..e9f45169e 100644 --- a/tests/phpunit/item/ItemFactoryTest.php +++ b/tests/phpunit/item/ItemFactoryTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/item/ItemTest.php b/tests/phpunit/item/ItemTest.php index db29f14dc..05cb48b30 100644 --- a/tests/phpunit/item/ItemTest.php +++ b/tests/phpunit/item/ItemTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/item/LegacyStringToItemParserTest.php b/tests/phpunit/item/LegacyStringToItemParserTest.php index 546a383bf..ef5127fec 100644 --- a/tests/phpunit/item/LegacyStringToItemParserTest.php +++ b/tests/phpunit/item/LegacyStringToItemParserTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/network/mcpe/handler/StupidJsonDecodeTest.php b/tests/phpunit/network/mcpe/handler/StupidJsonDecodeTest.php index e5756aad6..99890b402 100644 --- a/tests/phpunit/network/mcpe/handler/StupidJsonDecodeTest.php +++ b/tests/phpunit/network/mcpe/handler/StupidJsonDecodeTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/plugin/ApiVersionTest.php b/tests/phpunit/plugin/ApiVersionTest.php index bd7c89032..c068f25ce 100644 --- a/tests/phpunit/plugin/ApiVersionTest.php +++ b/tests/phpunit/plugin/ApiVersionTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/scheduler/AsyncPoolTest.php b/tests/phpunit/scheduler/AsyncPoolTest.php index 878e99048..9a61c33ff 100644 --- a/tests/phpunit/scheduler/AsyncPoolTest.php +++ b/tests/phpunit/scheduler/AsyncPoolTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/scheduler/LeakTestAsyncTask.php b/tests/phpunit/scheduler/LeakTestAsyncTask.php index 942b751d7..40c0b1c55 100644 --- a/tests/phpunit/scheduler/LeakTestAsyncTask.php +++ b/tests/phpunit/scheduler/LeakTestAsyncTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/scheduler/PublishProgressRaceAsyncTask.php b/tests/phpunit/scheduler/PublishProgressRaceAsyncTask.php index 6c70d2620..da25d16f3 100644 --- a/tests/phpunit/scheduler/PublishProgressRaceAsyncTask.php +++ b/tests/phpunit/scheduler/PublishProgressRaceAsyncTask.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/scheduler/TaskSchedulerTest.php b/tests/phpunit/scheduler/TaskSchedulerTest.php index bcb1ae97e..529e31730 100644 --- a/tests/phpunit/scheduler/TaskSchedulerTest.php +++ b/tests/phpunit/scheduler/TaskSchedulerTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/utils/CloningRegistryTraitTest.php b/tests/phpunit/utils/CloningRegistryTraitTest.php index 69ca0a411..2cf10bed1 100644 --- a/tests/phpunit/utils/CloningRegistryTraitTest.php +++ b/tests/phpunit/utils/CloningRegistryTraitTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/utils/ConfigTest.php b/tests/phpunit/utils/ConfigTest.php index 22f9f3ea8..76b1a4b71 100644 --- a/tests/phpunit/utils/ConfigTest.php +++ b/tests/phpunit/utils/ConfigTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/utils/EnumTraitTest.php b/tests/phpunit/utils/EnumTraitTest.php index d58c61d08..4108847e9 100644 --- a/tests/phpunit/utils/EnumTraitTest.php +++ b/tests/phpunit/utils/EnumTraitTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/utils/RandomTest.php b/tests/phpunit/utils/RandomTest.php index d8d803d20..3dfb47aa2 100644 --- a/tests/phpunit/utils/RandomTest.php +++ b/tests/phpunit/utils/RandomTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/utils/TestCloningRegistry.php b/tests/phpunit/utils/TestCloningRegistry.php index edc7a4102..ade94d461 100644 --- a/tests/phpunit/utils/TestCloningRegistry.php +++ b/tests/phpunit/utils/TestCloningRegistry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/utils/TestEnum.php b/tests/phpunit/utils/TestEnum.php index de7fee688..d21b1e300 100644 --- a/tests/phpunit/utils/TestEnum.php +++ b/tests/phpunit/utils/TestEnum.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/utils/UtilsTest.php b/tests/phpunit/utils/UtilsTest.php index 7a8448815..ab93d73c3 100644 --- a/tests/phpunit/utils/UtilsTest.php +++ b/tests/phpunit/utils/UtilsTest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/tests/phpunit/utils/fixtures/TestAbstractClass.php b/tests/phpunit/utils/fixtures/TestAbstractClass.php index be3875240..6479fefcb 100644 --- a/tests/phpunit/utils/fixtures/TestAbstractClass.php +++ b/tests/phpunit/utils/fixtures/TestAbstractClass.php @@ -1,5 +1,24 @@