Hi,
With the last version of your tool v1.51.16045, I have some issues:
bool|string[]
explode can return string or string[] but not bool It depends if the $string argument is string or string[]
explode
$string
static method calls inside the same class are unknown, no definition found
<?php namespace Devsense\Common; abstract class AbstractTest { public static function factory(): static { return new static(); } public function test(): void { static::_test(); } protected static function _test(): void { $result = explode(',', '1,2,3'); } }
Could you check the $result variable and the static::_test(); call please?
$result
static::_test();
Thank you.
Jean-FrancoisHIVERT thank you for the issues;
false
I have always some issues with ::.
::
Jean-FrancoisHIVERT I've noticed we did not release the last fix for self:: (and parent:: and static::) yet.
self::
ok sorry, because I saw in the changelog one fix related to static :: resolution.
Jean-FrancoisHIVERT yes, my bad :)
Upcoming 1.51.16099 update.
1.51.16099