Skip to content

Commit

Permalink
RNBR-3833 Fork Microbilt Wsdl lib and upgrade
Browse files Browse the repository at this point in the history
types
  • Loading branch information
kozebobinka committed Oct 9, 2023
1 parent 316d774 commit d41f037
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions MicrobiltWsdlClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ public function last()
* @param int $_offset
* @return bool true|false
*/
public function offsetExists($_offset): bool
public function offsetExists(mixed $_offset): bool
{
return ($this->getInternArrayToIterateIsArray() && array_key_exists($_offset,$this->getInternArrayToIterate()));
}
Expand All @@ -742,25 +742,24 @@ public function offsetExists($_offset): bool
* @param int $_offset
* @return mixed
*/
public function offsetGet($_offset): mixed
public function offsetGet(mixed $_offset): mixed
{
return $this->offsetExists($_offset)?$this->internArrayToIterate[$_offset]:null;
}
/**
* Method useless but necessarly overridden, can't set
* @param mixed $_offset
* @param mixed $_value
* @return null
*/
public function offsetSet($_offset,$_value): mixed
public function offsetSet(mixed $_offset,mixed $_value): void
{
return null;
return;
}
/**
* Method useless but necessarly overridden, can't unset
* @param mixed $_offset
*/
public function offsetUnset($_offset): void
public function offsetUnset(mixed $_offset): void
{
return;
}
Expand Down

0 comments on commit d41f037

Please sign in to comment.