}
/**
- * @param string|NULL $value
+ * @param string|null $value
* @return string
* SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes)
*/
*
* @return bool
*/
- public function offsetExists($offset) {
+ public function offsetExists($offset): bool {
return isset($this->params[$offset]);
}
* @see param()
* @see ArrayAccess::offsetGet
*/
+ #[ReturnTypeWillChange]
public function offsetGet($offset) {
return $this->params[$offset];
}
* @see param()
* @see ArrayAccess::offsetSet
*/
- public function offsetSet($offset, $value) {
+ public function offsetSet($offset, $value): void {
$this->param($offset, $value);
}
* @see param()
* @see ArrayAccess::offsetUnset
*/
- public function offsetUnset($offset) {
+ public function offsetUnset($offset): void {
unset($this->params[$offset]);
}