File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ As configured, the following property is used by the marking store::
176
176
With this workflow named ``blog_publishing ``, you can get help to decide
177
177
what actions are allowed on a blog post::
178
178
179
- $post = new \ AppBundle\Entity\BlogPost();
179
+ $post = new AppBundle\Entity\BlogPost();
180
180
181
181
$workflow = $this->container->get('workflow.blog_publishing');
182
182
$workflow->can($post, 'publish'); // False
@@ -339,7 +339,7 @@ See example to make sure no blog post without title is moved to "review"::
339
339
{
340
340
public function guardReview(GuardEvent $event)
341
341
{
342
- /** @var \ AppBundle\Entity\BlogPost $post */
342
+ /** @var AppBundle\Entity\BlogPost $post */
343
343
$post = $event->getSubject();
344
344
$title = $post->title;
345
345
You can’t perform that action at this time.
0 commit comments