diff options
| author | EoleDev <EoleDev@outlook.fr> | 2016-03-23 15:30:47 +0100 |
|---|---|---|
| committer | EoleDev <EoleDev@outlook.fr> | 2016-03-23 15:30:47 +0100 |
| commit | 54ec6723deb44e325782afd366eeec01ee29ac55 (patch) | |
| tree | 5431400d307754a02e6c40b35a40e6761d7dac0c /server/vendor/php-opencloud/common/src/Common/ArrayAccessTrait.php | |
| parent | 0dc17aa9efb987dcdf6f864f4110450bcc0c9003 (diff) | |
Maj Library
Diffstat (limited to 'server/vendor/php-opencloud/common/src/Common/ArrayAccessTrait.php')
| -rw-r--r-- | server/vendor/php-opencloud/common/src/Common/ArrayAccessTrait.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/vendor/php-opencloud/common/src/Common/ArrayAccessTrait.php b/server/vendor/php-opencloud/common/src/Common/ArrayAccessTrait.php index 72bcfce..a9e3aba 100644 --- a/server/vendor/php-opencloud/common/src/Common/ArrayAccessTrait.php +++ b/server/vendor/php-opencloud/common/src/Common/ArrayAccessTrait.php @@ -1,4 +1,4 @@ -<?php +<?php declare(strict_types=1); namespace OpenCloud\Common; @@ -38,7 +38,7 @@ trait ArrayAccessTrait * * @return bool */ - public function offsetExists($offset) + public function offsetExists(string $offset): bool { return isset($this->internalState[$offset]); } @@ -48,7 +48,7 @@ trait ArrayAccessTrait * * @param string $offset */ - public function offsetUnset($offset) + public function offsetUnset(string $offset) { unset($this->internalState[$offset]); } @@ -60,7 +60,7 @@ trait ArrayAccessTrait * * @return mixed|null */ - public function offsetGet($offset) + public function offsetGet(string $offset) { return $this->offsetExists($offset) ? $this->internalState[$offset] : null; } |
