Skip to content

Commit 144b3a9

Browse files
committed
minor #976 Updated docblock links (miguelci)
This PR was merged into the master branch. Discussion ---------- Updated docblock links Was following the documentation here and one of the links wasn't going anywhere. Updated the link that wasn't working and also others that had redirects. Not a big PR, but might help someone. Commits ------- 3a91541 Updated docblock links
2 parents 2e20e90 + 3a91541 commit 144b3a9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Command/AddUserCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
* $ php bin/console app:add-user -vv
3939
*
40-
* See https://symfony.com/doc/current/cookbook/console/console_command.html
40+
* See https://symfony.com/doc/current/console.html
4141
* For more advanced uses, commands can be defined as services too. See
4242
* https://symfony.com/doc/current/console/commands_as_services.html
4343
*

src/Command/DeleteUserCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* Check out the code of the src/App/Command/AddUserCommand.php file for
3434
* the full explanation about Symfony commands.
3535
*
36-
* See https://symfony.com/doc/current/cookbook/console/console_command.html
36+
* See https://symfony.com/doc/current/console.html
3737
* For more advanced uses, commands can be defined as services too. See
3838
* https://symfony.com/doc/current/console/commands_as_services.html
3939
*
@@ -121,7 +121,7 @@ protected function execute(InputInterface $input, OutputInterface $output): void
121121

122122
// After an entity has been removed its in-memory state is the same
123123
// as before the removal, except for generated identifiers.
124-
// See http://docs.doctrine-project.org/en/latest/reference/working-with-objects.html#removing-entities
124+
// See https://www.doctrine-project.org/projects/doctrine-orm/en/latest/reference/working-with-objects.html#removing-entities
125125
$userId = $user->getId();
126126

127127
$this->entityManager->remove($user);

src/Command/ListUsersCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*
2929
* $ php bin/console app:list-users
3030
*
31-
* See https://symfony.com/doc/current/cookbook/console/console_command.html
31+
* See https://symfony.com/doc/current/console.html
3232
* For more advanced uses, commands can be defined as services too. See
3333
* https://symfony.com/doc/current/console/commands_as_services.html
3434
*
@@ -130,7 +130,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
130130
*/
131131
private function sendReport(string $contents, string $recipient): void
132132
{
133-
// See https://symfony.com/doc/current/cookbook/email/email.html
133+
// See https://symfony.com/doc/current/email.html
134134
$message = $this->mailer->createMessage()
135135
->setSubject(sprintf('app:list-users report (%s)', date('Y-m-d H:i:s')))
136136
->setFrom($this->emailSender)

0 commit comments

Comments
 (0)