Skip to content

Commit a2a97e9

Browse files
committed
Last fixes
1 parent d122ead commit a2a97e9

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

components/console/helpers/table.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ You can add a table separator anywhere in the output by passing an instance of
7272
You can optionally display titles at the top and the bottom of the table::
7373

7474
// ...
75-
$table->setHeaderTitle('Books')
76-
$table->setFooterTitle('Page 1/2')
75+
$table->setHeaderTitle('Books');
76+
$table->setFooterTitle('Page 1/2');
7777
$table->render();
7878

7979
.. code-block:: terminal

components/workflow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ are trying to use it with::
6868
use Symfony\Component\Workflow\Registry;
6969
use Symfony\Component\Workflow\SupportStrategy\InstanceOfSupportStrategy;
7070

71-
$blogPostWorkflow = ...
72-
$newsletterWorkflow = ...
71+
$blogPostWorkflow = ...;
72+
$newsletterWorkflow = ...;
7373

7474
$registry = new Registry();
7575
$registry->addWorkflow($blogPostWorkflow, new InstanceOfSupportStrategy(BlogPost::class));

forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ argument of ``createForm()``::
592592
{
593593
$task = new Task();
594594
// use some PHP logic to decide if this form field is required or not
595-
$dueDateIsRequired = ...
595+
$dueDateIsRequired = ...;
596596

597597
$form = $this->createForm(TaskType::class, $task, [
598598
'require_due_date' => $dueDateIsRequired,

migration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,11 @@ somewhat like this::
313313

314314
class LegacyBridge
315315
{
316-
public static function prepareLegacyScript(Request $request, Response $response, string $publicDirectory): string
316+
public static function prepareLegacyScript(Request $request, Response $response, string $publicDirectory): ?string
317317
{
318318
// If Symfony successfully handled the route, you do not have to do anything.
319319
if (false === $response->isNotFound()) {
320-
return;
320+
return null;
321321
}
322322

323323
// Figure out how to map to the needed script file

reference/constraints/Traverse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ that all have constraints on their properties.
2727
namespace App\Entity;
2828
2929
use Doctrine\Collections\ArrayCollection;
30-
use Doctrine\Collections\Collection
30+
use Doctrine\Collections\Collection;
3131
use Doctrine\ORM\Mapping as ORM;
3232
use Symfony\Component\Validator\Constraints as Assert;
3333

0 commit comments

Comments
 (0)