mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-11 09:24:01 +02:00
style: Adopt PSR12
Dev dependency flyeralarm/php-code-validator has been removed. Closes #444
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Behavioral\Memento;
|
||||
|
||||
@@ -6,10 +8,10 @@ use InvalidArgumentException;
|
||||
|
||||
class State implements \Stringable
|
||||
{
|
||||
const STATE_CREATED = 'created';
|
||||
const STATE_OPENED = 'opened';
|
||||
const STATE_ASSIGNED = 'assigned';
|
||||
const STATE_CLOSED = 'closed';
|
||||
public const STATE_CREATED = 'created';
|
||||
public const STATE_OPENED = 'opened';
|
||||
public const STATE_ASSIGNED = 'assigned';
|
||||
public const STATE_CLOSED = 'closed';
|
||||
|
||||
private string $state;
|
||||
|
||||
|
Reference in New Issue
Block a user