Skip to content

Commit 716e4ee

Browse files
committed
minor #11270 removed leading slash in FQCN (OskarStark)
This PR was merged into the 3.4 branch. Discussion ---------- removed leading slash in FQCN <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 94e0257 removed leading slash in FQCN
2 parents f103121 + 94e0257 commit 716e4ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflow/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ As configured, the following property is used by the marking store::
176176
With this workflow named ``blog_publishing``, you can get help to decide
177177
what actions are allowed on a blog post::
178178

179-
$post = new \AppBundle\Entity\BlogPost();
179+
$post = new AppBundle\Entity\BlogPost();
180180

181181
$workflow = $this->container->get('workflow.blog_publishing');
182182
$workflow->can($post, 'publish'); // False
@@ -339,7 +339,7 @@ See example to make sure no blog post without title is moved to "review"::
339339
{
340340
public function guardReview(GuardEvent $event)
341341
{
342-
/** @var \AppBundle\Entity\BlogPost $post */
342+
/** @var AppBundle\Entity\BlogPost $post */
343343
$post = $event->getSubject();
344344
$title = $post->title;
345345

0 commit comments

Comments
 (0)