Skip to content

Commit

Permalink
Removing a dependency on a Freeform class which should not have been …
Browse files Browse the repository at this point in the history
…there
  • Loading branch information
gustavs-gutmanis committed Apr 23, 2019
1 parent 9bc6993 commit 8f2dd12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "solspace/craft3-commons",
"description": "Solspace Commons Library for Craft CMS 3 plugins",
"version": "1.0.18",
"version": "1.0.19",
"type": "library",
"license": "MIT",
"require": {
Expand Down
12 changes: 2 additions & 10 deletions src/Events/RegisterCpSubnavItemsEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Solspace\Commons\Events;

use Solspace\Freeform\Events\ArrayableEvent;
use yii\base\Event;

class RegisterCpSubnavItemsEvent extends ArrayableEvent
class RegisterCpSubnavItemsEvent extends Event
{
/** @var array */
private $subnavItems;
Expand All @@ -21,14 +21,6 @@ public function __construct(array $subnavItems)
parent::__construct();
}

/**
* @inheritDoc
*/
public function fields(): array
{
return ['subnavItems'];
}

/**
* @param string $handle
* @param string $label
Expand Down

0 comments on commit 8f2dd12

Please sign in to comment.