Skip to content

Commit 5ed9e5c

Browse files
committed
Remove <?php from examples as it breaks syntax highlighting on github mobile app
1 parent 0deaf22 commit 5ed9e5c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ Create enums by extending one of:
3030
* `EKvedaras\PHPEnum\Arrayy\Enum`
3131

3232
```php
33-
<?php
34-
3533
use EKvedaras\PHPEnum\PHPArray\Enum;
3634

3735
class PaymentStatus extends Enum
@@ -278,8 +276,6 @@ Meta field is intentionally left as mixed type as it could be used for various r
278276
For example linking enum options with a specific implementation:
279277

280278
```php
281-
<?php
282-
283279
use EKvedaras\PHPEnum\PHPArray\Enum;
284280

285281
class PaymentMethod extends Enum
@@ -321,8 +317,6 @@ they will not be returned in `enum` / `keys` / `options`, etc. results and won't
321317
to extend enums and make them more useful. For example:
322318

323319
```php
324-
<?php
325-
326320
use EKvedaras\PHPEnum\Illuminate\Collection\Enum;
327321
use Illuminate\Support\Collection;
328322

@@ -375,8 +369,6 @@ Calling `serialize(PaymentMethod::stripe())` will throw a `RuntimeException`.
375369
As a workaround it is better to store the ID instead of object itself. You still get the bonus of setters only accepting valid values.
376370

377371
```php
378-
<?php
379-
380372
class Payment
381373
{
382374
/** @var string */

0 commit comments

Comments
 (0)