Skip to content

Commit

Permalink
Improved PHPDoc descriptions (#1364)
Browse files Browse the repository at this point in the history
* [PHPDoc] Fixed typo
* Adjusted policy description to match convention
  • Loading branch information
mnocon authored Oct 14, 2024
1 parent 974dfdc commit 230a77d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/contracts/Menu/CopyFormContextMenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use JMS\TranslationBundle\Translation\TranslationContainerInterface;

/**
* Builds menu with "Copy" nad "Cancel" items.
* Builds menu with "Copy" and "Cancel" items.
*/
final class CopyFormContextMenuBuilder extends AbstractFormContextMenuBuilder implements TranslationContainerInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/Menu/CreateFormContextMenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use JMS\TranslationBundle\Translation\TranslationContainerInterface;

/**
* Builds menu with "Create" nad "Cancel" items.
* Builds menu with "Create" and "Cancel" items.
*/
final class CreateFormContextMenuBuilder extends AbstractFormContextMenuBuilder implements TranslationContainerInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/Menu/MenuItemFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
interface MenuItemFactoryInterface extends FactoryInterface
{
/**
* Creates Location menu item only when user has content:read permission.
* Creates Location menu item only when user has content/read permission.
*
* @param array<mixed> $options
*
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/Menu/UpdateFormContextMenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use JMS\TranslationBundle\Translation\TranslationContainerInterface;

/**
* Builds menu with "Update" nad "Cancel" items.
* Builds menu with "Update" and "Cancel" items.
*/
final class UpdateFormContextMenuBuilder extends AbstractFormContextMenuBuilder implements TranslationContainerInterface
{
Expand Down

0 comments on commit 230a77d

Please sign in to comment.