diff options
Diffstat (limited to 'vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php')
| -rw-r--r-- | vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php b/vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php deleted file mode 100644 index c8c628b5b..000000000 --- a/vendor/chillerlan/php-settings-container/tests/TestOptionsTrait.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/** - * Trait TestOptionsTrait - * - * @created 28.08.2018 - * @author smiley <smiley@chillerlan.net> - * @copyright 2018 smiley - * @license MIT - */ - -namespace chillerlan\SettingsTest; - -use function sha1; - -trait TestOptionsTrait{ - - protected string $test1 = 'foo'; - - protected ?bool $test2 = null; - - protected string $testConstruct; - - protected ?string $test4 = null; - - protected ?string $test5 = null; - - protected ?string $test6 = null; - - protected function TestOptionsTrait():void{ - $this->testConstruct = 'success'; - } - - protected function set_test5($value):void{ - $this->test5 = $value.'_test5'; - } - - protected function get_test6():string{ - return $this->test6 === null - ? 'null' - : sha1($this->test6); - } -} |