You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to Intelephense the when function does not exist, because the everyMinute function which is in the trait is being documented as returning itself, and not the actual class where the trait was used:
* @return self
*/
public function everyMinute($minute = null)
This could be fixed if updating the @return documentation of the traits function to static, instead of self.
As I am using VS Code, I could not test this out, if the intelisens used by other IDEs behave the same on this issue, or not.
The text was updated successfully, but these errors were encountered:
Intelephense for VS Code, gets only partial suggestions when you are trying to use the following syntax:
According to Intelephense the
when
function does not exist, because theeveryMinute
function which is in the trait is being documented as returning itself, and not the actual class where the trait was used:This could be fixed if updating the
@return
documentation of the traits function tostatic
, instead ofself
.As I am using VS Code, I could not test this out, if the intelisens used by other IDEs behave the same on this issue, or not.
The text was updated successfully, but these errors were encountered: