Skip to content

Commit 1c87430

Browse files
committed
end does infact return CssElement all the time. fixes #1
1 parent 6cc25f4 commit 1c87430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CssElement.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function css($selector): CssElement
227227
*
228228
* @return CssElement
229229
*/
230-
public function end(): ?CssElement
230+
public function end(): CssElement
231231
{
232232
if (!isset($this->context)) {
233233
throw new \LogicException('End of the context: no end() to be returned');

0 commit comments

Comments
 (0)