Drop getGroup() method
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
992718ff3c
commit
4c8dedc303
@ -56,14 +56,6 @@ abstract class OptionsPropertyGroup extends OptionsPropertyItem implements Count
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
/**
|
||||
* Gets the instance of the class
|
||||
*/
|
||||
public function getGroup(): static
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the group of properties
|
||||
*
|
||||
|
||||
@ -24,15 +24,4 @@ abstract class PropertyItem
|
||||
* - PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
|
||||
*/
|
||||
abstract public function getItemType(): string;
|
||||
|
||||
/**
|
||||
* Only overwritten in the PhpMyAdmin\Properties\Options\OptionsPropertyGroup class:
|
||||
* Used to tell whether we can use the current item as a group by calling
|
||||
* the addProperty() or removeProperty() methods, which are not available
|
||||
* for simple PhpMyAdmin\Properties\Options\OptionsPropertyOneItem subclasses.
|
||||
*/
|
||||
public function getGroup(): static|null
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,9 +35,4 @@ class PropertyItemTest extends AbstractTestCase
|
||||
|
||||
unset($this->stub);
|
||||
}
|
||||
|
||||
public function testGetGroup(): void
|
||||
{
|
||||
self::assertNull($this->stub->getGroup());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user