File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
tests/Stecman/Component/Symfony/Console/BashCompletion/Common Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class CompletionHandler
40
40
*/
41
41
private $ commandWordIndex ;
42
42
43
- public function __construct (Application $ application , CompletionContext $ context = null )
43
+ public function __construct (Application $ application , ? CompletionContext $ context = null )
44
44
{
45
45
$ this ->application = $ application ;
46
46
$ this ->context = $ context ;
Original file line number Diff line number Diff line change @@ -126,10 +126,10 @@ public static function getShellTypes()
126
126
/**
127
127
* Return a completion hook for the specified shell type
128
128
*
129
- * @param string $type - a key from self::$hooks
130
- * @param string $programPath
131
- * @param string $programName
132
- * @param bool $multiple
129
+ * @param string $type - a key from self::$hooks
130
+ * @param string $programPath
131
+ * @param ? string $programName
132
+ * @param bool $multiple
133
133
*
134
134
* @return string
135
135
*/
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ protected function setUp(): void
47
47
* Create a handler set up with the given commandline and cursor position
48
48
*
49
49
* @param $commandLine
50
- * @param int $cursorIndex
50
+ * @param ? int $cursorIndex
51
51
* @return CompletionHandler
52
52
*/
53
53
protected function createHandler ($ commandLine , $ cursorIndex = null )
You can’t perform that action at this time.
0 commit comments