Browse Source

remove undefined arguments

PHP-GTK3
yggverse 4 months ago
parent
commit
ea7d98ffd3
  1. 9
      src/Abstract/Entity/Entry.php
  2. 3
      src/Entity/Browser/Container/Page/Navbar/Request.php
  3. 3
      src/Entity/Browser/Container/Page/Response/Query.php
  4. 3
      src/Entity/Browser/History/Container/Navbar/Filter.php

9
src/Abstract/Entity/Entry.php

@ -40,12 +40,10 @@ abstract class Entry @@ -40,12 +40,10 @@ abstract class Entry
$this->gtk->connect(
'activate',
function(
\GtkEntry $entry,
\GdkEvent $event
\GtkEntry $entry
) {
$this->_onActivate(
$entry,
$event
$entry
);
}
);
@ -89,8 +87,7 @@ abstract class Entry @@ -89,8 +87,7 @@ abstract class Entry
}
abstract protected function _onActivate(
\GtkEntry $entry,
\GdkEvent $event
\GtkEntry $entry
): void;
abstract protected function _onKeyRelease(

3
src/Entity/Browser/Container/Page/Navbar/Request.php

@ -11,8 +11,7 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb @@ -11,8 +11,7 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb
private ?int $_changed = null;
protected function _onActivate(
\GtkEntry $entry,
\GdkEvent $event
\GtkEntry $entry
): void
{
$this->navbar->page->open(

3
src/Entity/Browser/Container/Page/Response/Query.php

@ -22,8 +22,7 @@ class Query extends \Yggverse\Yoda\Abstract\Entity\Entry @@ -22,8 +22,7 @@ class Query extends \Yggverse\Yoda\Abstract\Entity\Entry
}
protected function _onActivate(
\GtkEntry $entry,
\GdkEvent $event
\GtkEntry $entry
): void
{
$this->response->send();

3
src/Entity/Browser/History/Container/Navbar/Filter.php

@ -9,8 +9,7 @@ class Filter extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Na @@ -9,8 +9,7 @@ class Filter extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Na
protected string $_placeholder = 'Search in history...';
protected function _onActivate(
\GtkEntry $entry,
\GdkEvent $event
\GtkEntry $entry
): void
{
$this->navbar->container->content->search(

Loading…
Cancel
Save