Skip to content

Commit

Permalink
Fix the undeclared class property
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajeeb Ahamed authored and Sajeeb Ahamed committed Oct 17, 2024
1 parent f37f227 commit 7433cc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Controllers/ViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ class ViewController extends BaseController implements ControllerInterface
/**
* The component name.
*
* @var string $component The component name (required).
* @var string $componentName The component name (required).
*
* @since 1.0.0
*/
protected $component;
protected $componentName;

/**
* The view client.
Expand All @@ -69,7 +69,7 @@ public function __construct()
{
$this->singular = '';
$this->plural = '';
$this->component = '';
$this->componentName = '';

/** By default we assume that the client is --back if user skip it. */
$this->client = '--back';
Expand Down
2 changes: 1 addition & 1 deletion src/Parsers/InjectionParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct()
*
* @param string $type The type to set.
*
* @return void
* @return self
*
* @since 1.0.0
*/
Expand Down

0 comments on commit 7433cc7

Please sign in to comment.