Skip to content

Commit

Permalink
Implement HasRequirements where missing
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Jun 24, 2024
1 parent 2e9e7ea commit 9c36302
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion includes/Shopping/Product_Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@
namespace Google\Web_Stories\Shopping;

use Google\Web_Stories\Infrastructure\HasMeta;
use Google\Web_Stories\Infrastructure\HasRequirements;
use Google\Web_Stories\Infrastructure\PluginUninstallAware;
use Google\Web_Stories\Service_Base;
use Google\Web_Stories\Story_Post_Type;

/**
* Class Product_Meta.
*/
class Product_Meta extends Service_Base implements HasMeta, PluginUninstallAware {
class Product_Meta extends Service_Base implements HasMeta, PluginUninstallAware, HasRequirements {
/**
* The products meta key.
*/
Expand Down
3 changes: 2 additions & 1 deletion includes/Taxonomy/Category_Taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

namespace Google\Web_Stories\Taxonomy;

use Google\Web_Stories\Infrastructure\HasRequirements;
use Google\Web_Stories\REST_API\Stories_Terms_Controller;
use Google\Web_Stories\Story_Post_Type;

Expand All @@ -36,7 +37,7 @@
*
* @phpstan-import-type TaxonomyArgs from \Google\Web_Stories\Taxonomy\Taxonomy_Base
*/
class Category_Taxonomy extends Taxonomy_Base {
class Category_Taxonomy extends Taxonomy_Base implements HasRequirements {
/**
* Constructor.
*
Expand Down

0 comments on commit 9c36302

Please sign in to comment.