Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 1ae3bec

Browse files
authored
Merge branch 'master' into ds_fix-html
2 parents db93d4a + 1da5088 commit 1ae3bec

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

src/guides/v2.3/coding-standards/docblock-standard-general.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,8 +797,8 @@ For example, padding for visual alignment can be done in two ways:
797797
/**
798798
* ...
799799
*
800-
* @param string $parentId
801-
* @param string $childId
800+
* @param string $parentId
801+
* @param string $childId
802802
* @param int|null $position
803803
* @return int
804804
* @see _insertChild() for position explanation

src/guides/v2.3/ext-best-practices/tutorials/custom-import-entity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ When updating the table's data, you must provide the `entity_id` value for each
441441

442442
Next, register the sample file for our entity.
443443

444-
> `etc/adminhtml/di.xml`
444+
> `etc/di.xml`
445445
446446
```xml
447447
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

src/guides/v2.3/extension-dev-guide/cli-cmds/cli-howto.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,14 @@ Following is a summary of the process:
9292
*/
9393
protected function configure()
9494
{
95-
$options = [
96-
new InputOption(
97-
self::NAME,
98-
null,
99-
InputOption::VALUE_REQUIRED,
100-
'Name'
101-
)
102-
];
10395
$this->setName('my:first:command');
10496
$this->setDescription('This is my first console command.');
105-
$this->setDefinition($options);
97+
$this->addOption(
98+
self::NAME,
99+
null,
100+
InputOption::VALUE_REQUIRED,
101+
'Name'
102+
);
106103

107104
parent::configure();
108105
}

0 commit comments

Comments
 (0)