From 9c154e7e8af35ffb358446b42144dc54c16fcfb4 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 10 Nov 2016 10:59:23 +0100 Subject: [PATCH 1/2] [Workflow] improve docblocks --- .../Workflow/MarkingStore/MultipleStateMarkingStore.php | 4 +--- .../Workflow/MarkingStore/SingleStateMarkingStore.php | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Symfony/Component/Workflow/MarkingStore/MultipleStateMarkingStore.php b/src/Symfony/Component/Workflow/MarkingStore/MultipleStateMarkingStore.php index 42fd65bb2c5d5..874d1fb5134a5 100644 --- a/src/Symfony/Component/Workflow/MarkingStore/MultipleStateMarkingStore.php +++ b/src/Symfony/Component/Workflow/MarkingStore/MultipleStateMarkingStore.php @@ -20,7 +20,7 @@ * subject. * * This store deals with a "multiple state" Marking. It means a subject can be - * in many state at the same time. + * in many states at the same time. * * @author Grégoire Pineau */ @@ -30,8 +30,6 @@ class MultipleStateMarkingStore implements MarkingStoreInterface private $propertyAccessor; /** - * MultipleStateMarkingStore constructor. - * * @param string $property * @param PropertyAccessorInterface|null $propertyAccessor */ diff --git a/src/Symfony/Component/Workflow/MarkingStore/SingleStateMarkingStore.php b/src/Symfony/Component/Workflow/MarkingStore/SingleStateMarkingStore.php index bbd2b74b6350e..99adf1671bab1 100644 --- a/src/Symfony/Component/Workflow/MarkingStore/SingleStateMarkingStore.php +++ b/src/Symfony/Component/Workflow/MarkingStore/SingleStateMarkingStore.php @@ -19,7 +19,7 @@ * SingleStateMarkingStore stores the marking into a property of the subject. * * This store deals with a "single state" Marking. It means a subject can be in - * one and only state at the same time. + * one and only one state at the same time. * * @author Grégoire Pineau */ @@ -29,8 +29,6 @@ class SingleStateMarkingStore implements MarkingStoreInterface private $propertyAccessor; /** - * SingleStateMarkingStore constructor. - * * @param string $property * @param PropertyAccessorInterface|null $propertyAccessor */ From 8eed2aa7eaca31498623472e7d4ac8f7fe64b576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Thu, 10 Nov 2016 11:39:59 +0100 Subject: [PATCH 2/2] [Workflow] Fixed PHPDocs --- src/Symfony/Component/Workflow/Definition.php | 2 -- src/Symfony/Component/Workflow/Event/Event.php | 2 -- src/Symfony/Component/Workflow/Transition.php | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/Symfony/Component/Workflow/Definition.php b/src/Symfony/Component/Workflow/Definition.php index 6250bf57d2190..db177459750c8 100644 --- a/src/Symfony/Component/Workflow/Definition.php +++ b/src/Symfony/Component/Workflow/Definition.php @@ -26,8 +26,6 @@ final class Definition private $initialPlace; /** - * Definition constructor. - * * @param string[] $places * @param Transition[] $transitions * @param string|null $initialPlace diff --git a/src/Symfony/Component/Workflow/Event/Event.php b/src/Symfony/Component/Workflow/Event/Event.php index 8a307d731a3cb..dce6a6f5df8fb 100644 --- a/src/Symfony/Component/Workflow/Event/Event.php +++ b/src/Symfony/Component/Workflow/Event/Event.php @@ -26,8 +26,6 @@ class Event extends BaseEvent private $transition; /** - * Event constructor. - * * @param object $subject * @param Marking $marking * @param Transition $transition diff --git a/src/Symfony/Component/Workflow/Transition.php b/src/Symfony/Component/Workflow/Transition.php index 7e44f0b315a89..fb4786c88a267 100644 --- a/src/Symfony/Component/Workflow/Transition.php +++ b/src/Symfony/Component/Workflow/Transition.php @@ -24,8 +24,6 @@ class Transition private $tos; /** - * Transition constructor. - * * @param string $name * @param string|string[] $froms * @param string|string[] $tos pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy