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
4040 */
4141 private $ commandWordIndex ;
4242
43- public function __construct (Application $ application , CompletionContext $ context = null )
43+ public function __construct (Application $ application , ? CompletionContext $ context = null )
4444 {
4545 $ this ->application = $ application ;
4646 $ this ->context = $ context ;
Original file line number Diff line number Diff line change @@ -126,10 +126,10 @@ public static function getShellTypes()
126126 /**
127127 * Return a completion hook for the specified shell type
128128 *
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
133133 *
134134 * @return string
135135 */
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ protected function setUp(): void
4747 * Create a handler set up with the given commandline and cursor position
4848 *
4949 * @param $commandLine
50- * @param int $cursorIndex
50+ * @param ? int $cursorIndex
5151 * @return CompletionHandler
5252 */
5353 protected function createHandler ($ commandLine , $ cursorIndex = null )
You can’t perform that action at this time.
0 commit comments