Skip to content

Commit 73de480

Browse files
committed
docs: fix Command
1 parent 747108f commit 73de480

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

system/CLI/GeneratorTrait.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ trait GeneratorTrait
103103
/**
104104
* Execute the command.
105105
*
106+
* @param array<int|string, string|null> $params
107+
*
106108
* @deprecated use generateClass() instead
107109
*/
108110
protected function execute(array $params): void
@@ -112,6 +114,8 @@ protected function execute(array $params): void
112114

113115
/**
114116
* Generates a class file from an existing template.
117+
*
118+
* @param array<int|string, string|null> $params
115119
*/
116120
protected function generateClass(array $params): void
117121
{
@@ -134,7 +138,8 @@ protected function generateClass(array $params): void
134138
/**
135139
* Generate a view file from an existing template.
136140
*
137-
* @param string $view namespaced view name that is generated
141+
* @param string $view namespaced view name that is generated
142+
* @param array<int|string, string|null> $params
138143
*/
139144
protected function generateView(string $view, array $params): void
140145
{

system/Commands/Encryption/GenerateKey.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ protected function generateRandomKey(string $prefix, int $length): string
124124

125125
/**
126126
* Sets the new encryption key in your .env file.
127+
*
128+
* @param array<int|string, string|null> $params
127129
*/
128130
protected function setNewEncryptionKey(string $key, array $params): bool
129131
{
@@ -139,6 +141,8 @@ protected function setNewEncryptionKey(string $key, array $params): bool
139141

140142
/**
141143
* Checks whether to overwrite existing encryption key.
144+
*
145+
* @param array<int|string, string|null> $params
142146
*/
143147
protected function confirmOverwrite(array $params): bool
144148
{

0 commit comments

Comments
 (0)