8000 fixed CS · sroze/symfony@6d51eaf · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d51eaf

Browse files
committed
fixed CS
1 parent e92c120 commit 6d51eaf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Component/Ldap/Adapter/ExtLdap/EntryManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ public function rename(Entry $entry, $newRdn, $removeOldRdn = true)
113113
/**
114114
* Moves an entry on the Ldap server.
115115
*
116-
* @throws NotBoundException if the connection has not been previously bound.
117-
* @throws LdapException if an error is thrown during the rename operation.
116+
* @throws NotBoundException if the connection has not been previously bound
117+
* @throws LdapException if an error is thrown during the rename operation
118118
*/
119119
public function move(Entry $entry, string $newParent)
120120
{

src/Symfony/Component/Workflow/Validator/StateMachineValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function validate(Definition $definition, $name)
4444
}
4545

4646
$initialPlaces = $definition->getInitialPlaces();
47-
if (2 <= count($initialPlaces)) {
47+
if (2 <= \count($initialPlaces)) {
4848
throw new InvalidDefinitionException(sprintf('The state machine "%s" can not store many places. But the definition has %s initial places. Only one is supported.', $name, \count($initialPlaces)));
4949
}
5050
}

src/Symfony/Component/Workflow/Validator/WorkflowValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function validate(Definition $definition, $name)
5151
}
5252

5353
$initialPlaces = $definition->getInitialPlaces();
54-
if (2 <= count($initialPlaces)) {
54+
if (2 <= \count($initialPlaces)) {
5555
throw new InvalidDefinitionException(sprintf('The marking store of workflow "%s" can not store many places. But the definition has %s initial places. Only one is supported.', $name, \count($initialPlaces)));
5656
}
5757
}

0 commit comments

Comments
 (0)
0