Corviz / crow

Yet another template engine for PHP
https://corviz.github.io/crow/
MIT License
6 stars 2 forks source link

Error: @forelse always returns @empty #6

Closed nael94 closed 3 months ago

nael94 commented 3 months ago

Code example:

@forelse (['test', 'another test'] as $item)
  Current item: ({{ $item }})
@empty
  List is empty
@endforelse

The output is always: "List is empty".

nael94 commented 3 months ago

This issue has been solved within the same solving #7