Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nall-chan committed Aug 31, 2023
1 parent 8083fd0 commit e153fa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ONVIF IO/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@ protected function GetEventReceiverFormValues(): array
}
return $EventList;
}
protected function ProcessHookData()
protected function ProcessHookData(): void
{
if (($this->ReadPropertyBoolean(\ONVIF\IO\Property::Active) == false) || ($this->GetTimerInterval(\ONVIF\IO\Timer::RenewSubscription) == 0)) {
http_response_code(404);
Expand Down
2 changes: 1 addition & 1 deletion ONVIF Media Stream/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ protected function WritePTZInHTMLBox(): void

$this->SetValueString('PTZControlHtml', $HTMLData);
}
protected function ProcessHookData()
protected function ProcessHookData(): void
{
if (!isset($_GET['authorization']) || ($_GET['authorization'] != $this->AuthorizationKey)) {
http_response_code(401);
Expand Down

0 comments on commit e153fa3

Please sign in to comment.