File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public function setBaseUrl($baseUrl)
7171 /**
7272 * @inheritdoc
7373 */
74- public function offsetExists ($ offset )
74+ public function offsetExists (mixed $ offset ): bool
7575 {
7676 return $ this ->hasProperty ($ offset );
7777 }
@@ -102,7 +102,7 @@ public function __isset($name) {
102102 /**
103103 * @inheritdoc
104104 */
105- public function offsetGet ($ offset )
105+ public function offsetGet (mixed $ offset ): mixed
106106 {
107107 return $ this ->getProperty ($ offset , false );
108108 }
@@ -125,7 +125,7 @@ public function __set($name, $value)
125125 *
126126 * @throws \BadMethodCallException
127127 */
128- public function offsetSet ($ offset , $ value )
128+ public function offsetSet (mixed $ offset , $ value ): mixed
129129 {
130130 throw new \BadMethodCallException ('Properties are read-only ' );
131131 }
@@ -135,7 +135,7 @@ public function offsetSet($offset, $value)
135135 *
136136 * @throws \BadMethodCallException
137137 */
138- public function offsetUnset ($ offset )
138+ public function offsetUnset (mixed $ offset ): void
139139 {
140140 throw new \BadMethodCallException ('Properties are read-only ' );
141141 }
You can’t perform that action at this time.
0 commit comments