smarty icon indicating copy to clipboard operation
smarty copied to clipboard

#623 Static return type in docblocks; for better IDE support chaining

Open blaaat opened this issue 4 years ago • 4 comments

see #623

blaaat avatar Jan 06 '21 08:01 blaaat

@blaaat Wouldn't @return $this be more appropriate here?

wisskid avatar Jul 16 '22 22:07 wisskid

@wisskid I don't think so; static is a PHP8+ return type; which could be added as regular return type when php7 support is dropped.

blaaat avatar Aug 08 '22 14:08 blaaat

But we're not dropping php7 support, right?

wisskid avatar Sep 12 '22 22:09 wisskid

But we're not dropping php7 support, right?

This is just a doc block; so it's not dropping php7 support.

blaaat avatar Oct 31 '22 11:10 blaaat