Commit Graph

16254 Commits

Author SHA1 Message Date
3ee6887792 populate remaining missing return types, using native returns where possible
this is done separately to stable so that stable changes can be integrated easily using an empty merge.
2020-01-19 10:26:35 +00:00
3cf0b50b4a update pocketmine/log and pocketmine/classloader dependencies 2020-01-19 09:58:40 +00:00
b4e6608e9f Merge branch 'stable' 2020-01-18 20:13:54 +00:00
e544bc0d4b Item: added missing return type info for clearCustomBlockData() 2020-01-18 20:11:47 +00:00
fd27227cc7 Item: fix @return annotations for fluent methods (needed for correct auto complete) 2020-01-18 20:10:46 +00:00
df2551ed4d NetworkSession: add missing return type for syncAttributes() 2020-01-18 20:00:05 +00:00
c0a45083b6 Packet: specify void return type in phpdoc (native return type not possible yet) 2020-01-18 19:58:14 +00:00
2b4ce3ea6d Merge branch 'stable' 2020-01-18 19:41:17 +00:00
b42966f61b network: explicitly specify @return void 2020-01-18 19:35:01 +00:00
ca86ec2ec2 Network: added missing return type information for getUpload() and getDownload() 2020-01-18 19:33:27 +00:00
69673e689b Merge commit '97b618340400a93b6f1d56a138ce607450d31c48' 2020-01-18 18:26:51 +00:00
2c1a0ca076 Merge commit 'c7f1b605f25d6945d4f3eea91492e5701c6292fb' 2020-01-18 18:26:20 +00:00
3317c2a52d Merge commit 'f069df65a8e2e8461be9ffa76f97911622fa19cf' 2020-01-18 18:25:19 +00:00
799db6efed Merge commit '1e624e7bb95bee7083dd6fb8f6e94b29e06a2b3a' 2020-01-18 18:24:43 +00:00
0c19b4e4dd Merge commit 'f16a53084931eaee7f2768071763548a785c8960' 2020-01-18 18:24:12 +00:00
9d42e50ae7 Merge commit '7137b8a8a4aadf9841e99a0a305c3c39b68051b6' 2020-01-18 18:23:38 +00:00
886ac4b788 Merge commit 'ab57914322d8e93790a88604b9bb3046a759da22' 2020-01-18 18:22:57 +00:00
ebce102167 Merge commit '260869c0d5904401178419c99e1f26e32b6ba07e' 2020-01-18 18:22:12 +00:00
835383b3c4 Merge commit '9135877da1e4a859ccc356fb914eca3f4a8f0cb8' 2020-01-18 18:20:33 +00:00
47ceb7fee2 Merge commit '07cb603231d143314c2bb69d6e3ee0dc281523a0' 2020-01-18 18:19:13 +00:00
489a1470dc Merge commit 'c22576a2668af4fb90d06f11d8b188a40d004832' 2020-01-18 18:16:04 +00:00
987e69bf1b Merge commit 'bac788fd00f02ca17591c8c34deae420defefc36' 2020-01-18 18:15:26 +00:00
a79021a83a Merge commit 'f6d96c58276bffe20d2444eeb5f4a638b0d78c02' 2020-01-18 18:15:00 +00:00
48a9e2a7ae Merge commit '2d2c9379cd482938026d65a6d6df8bcac0af30e9' 2020-01-18 18:14:15 +00:00
cd5b32c5b2 Merge commit '3400771770f820bd0936234d7081b1408afb18a8' 2020-01-18 18:12:40 +00:00
f97bdf64d9 Merge commit 'e12ecaf62960dfc71871520e52787589447346ee' 2020-01-18 18:11:53 +00:00
be821ea15e Merge commit '1303cbfe02bb6b5d36700f01f6b478a9be760470' 2020-01-18 18:10:32 +00:00
7762b73647 Merge commit 'd9bbab54f4608954a8ac0fffa88c2f32c07669f1' 2020-01-18 18:07:45 +00:00
97b6183404 PermissionManager: add native return types to private functions 2020-01-18 17:59:10 +00:00
0587d03c03 PluginDescription: add native return types to private functions 2020-01-18 17:57:24 +00:00
c7f1b605f2 PluginBase: remove useless duplicate doc comment from onLoad() stub 2020-01-18 17:56:44 +00:00
f069df65a8 PermissibleBase: added native returm types to private functions 2020-01-18 17:54:13 +00:00
1e624e7bb9 Attribute: add missing @return $this annotations 2020-01-18 17:50:58 +00:00
f16a530849 MainLogger: add native return types to private functions 2020-01-18 17:47:38 +00:00
7137b8a8a4 Config: added native void return types to private functions 2020-01-18 17:46:25 +00:00
ab57914322 CraftingDataPacket: added native return typehints to private methods 2020-01-18 17:45:15 +00:00
260869c0d5 Position: populate missing return type information for fromObject() 2020-01-18 17:44:14 +00:00
9135877da1 SetupWizard: add native void typehints to private methods 2020-01-18 17:39:06 +00:00
07cb603231 Liquid: add missing return type to getFluidHeightPercent() 2020-01-17 13:58:54 +00:00
f59094e6d6 Fence: add missing return type to canConnect() 2020-01-17 13:58:29 +00:00
d8acae5495 Door: add missing return type to getFullDamage() 2020-01-17 13:57:56 +00:00
239fe909be CobblestoneWall: add missing return type for canConnect() 2020-01-17 13:57:29 +00:00
c22576a266 CrashDump: add void native return types to private methods 2020-01-17 13:55:38 +00:00
bac788fd00 Timezone: add missing return type for detectSystemTimezone() 2020-01-15 20:18:35 +00:00
00869e81ba NetworkBinaryStream: fix server crash on wrong skindata size, close #3276 2020-01-15 19:48:25 +00:00
f6d96c5827 DataPacket: clean() returns $this, not void 2020-01-14 17:30:48 +00:00
b1458db47b Revert "CraftingDataPacket: fixed trying to return void result of parent function"
This reverts commit e12ecaf629.
2020-01-14 17:16:17 +00:00
2d2c9379cd DataPacket: apply @return void annotations to make phpstan happy
this eliminates 250+ errors on level 6.
2020-01-14 15:39:07 +00:00
3400771770 DataPacket: add missing return type info for pid() 2020-01-14 15:38:24 +00:00
e12ecaf629 CraftingDataPacket: fixed trying to return void result of parent function 2020-01-14 15:37:06 +00:00