Skip to content

Commit 1cb6596

Browse files
authored
Updated consistency across all console commands to remove full stops at the end of sentences. (#44016)
1 parent 9f79944 commit 1cb6596

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/Illuminate/Foundation/Console/ObserverMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected function getDefaultNamespace($rootNamespace)
146146
protected function getOptions()
147147
{
148148
return [
149-
['model', 'm', InputOption::VALUE_OPTIONAL, 'The model that the observer applies to.'],
149+
['model', 'm', InputOption::VALUE_OPTIONAL, 'The model that the observer applies to'],
150150
];
151151
}
152152
}

src/Illuminate/Foundation/Console/RuleMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ protected function getDefaultNamespace($rootNamespace)
9999
protected function getOptions()
100100
{
101101
return [
102-
['implicit', 'i', InputOption::VALUE_NONE, 'Generate an implicit rule.'],
103-
['invokable', null, InputOption::VALUE_NONE, 'Generate a single method, invokable rule class.'],
102+
['implicit', 'i', InputOption::VALUE_NONE, 'Generate an implicit rule'],
103+
['invokable', null, InputOption::VALUE_NONE, 'Generate a single method, invokable rule class'],
104104
];
105105
}
106106
}

src/Illuminate/Foundation/Console/TestMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ protected function rootNamespace()
115115
protected function getOptions()
116116
{
117117
return [
118-
['unit', 'u', InputOption::VALUE_NONE, 'Create a unit test.'],
119-
['pest', 'p', InputOption::VALUE_NONE, 'Create a Pest test.'],
118+
['unit', 'u', InputOption::VALUE_NONE, 'Create a unit test'],
119+
['pest', 'p', InputOption::VALUE_NONE, 'Create a Pest test'],
120120
];
121121
}
122122
}

src/Illuminate/Routing/Console/ControllerMakeCommand.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,14 +277,14 @@ protected function generateFormRequests($modelClass, $storeRequestClass, $update
277277
protected function getOptions()
278278
{
279279
return [
280-
['api', null, InputOption::VALUE_NONE, 'Exclude the create and edit methods from the controller.'],
281-
['type', null, InputOption::VALUE_REQUIRED, 'Manually specify the controller stub file to use.'],
280+
['api', null, InputOption::VALUE_NONE, 'Exclude the create and edit methods from the controller'],
281+
['type', null, InputOption::VALUE_REQUIRED, 'Manually specify the controller stub file to use'],
282282
['force', null, InputOption::VALUE_NONE, 'Create the class even if the controller already exists'],
283-
['invokable', 'i', InputOption::VALUE_NONE, 'Generate a single method, invokable controller class.'],
284-
['model', 'm', InputOption::VALUE_OPTIONAL, 'Generate a resource controller for the given model.'],
285-
['parent', 'p', InputOption::VALUE_OPTIONAL, 'Generate a nested resource controller class.'],
286-
['resource', 'r', InputOption::VALUE_NONE, 'Generate a resource controller class.'],
287-
['requests', 'R', InputOption::VALUE_NONE, 'Generate FormRequest classes for store and update.'],
283+
['invokable', 'i', InputOption::VALUE_NONE, 'Generate a single method, invokable controller class'],
284+
['model', 'm', InputOption::VALUE_OPTIONAL, 'Generate a resource controller for the given model'],
285+
['parent', 'p', InputOption::VALUE_OPTIONAL, 'Generate a nested resource controller class'],
286+
['resource', 'r', InputOption::VALUE_NONE, 'Generate a resource controller class'],
287+
['requests', 'R', InputOption::VALUE_NONE, 'Generate FormRequest classes for store and update'],
288288
];
289289
}
290290
}

0 commit comments

Comments
 (0)