Skip to content

Commit a777fdd

Browse files
cordovalstephpy
authored andcommitted
final touch
1 parent 29b36aa commit a777fdd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Filter/FilterManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function filter($collection)
4848
*/
4949
protected function sortFilters()
5050
{
51-
usort($this->filters, function($a, $b) {
51+
usort($this->filters, function(FilterInterface $a, FilterInterface $b) {
5252
$a = $a->getPriority();
5353
$b = $b->getPriority();
5454

src/Model/Action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ public function addActionComponent(ActionComponentInterface $actionComponent)
333333
}
334334

335335
/**
336-
* @return array
336+
* {@inheritdoc}
337337
*/
338338
public function getActionComponents()
339339
{

src/Spread/Entry/EntryCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function loadUnawareEntries()
119119
throw new \Exception(sprintf('Component with ident "%s" is unknown', $entry->getIdent()));
120120
}
121121

122-
// thrid argument make component not flushed directly.
122+
// third argument ensures component is not flushed directly.
123123
$component = $this->actionManager->createComponent($entry->getSubjectModel(), $entry->getSubjectId(), false);
124124

125125
$nbComponentCreated++;

src/Spread/Entry/EntryUnaware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class EntryUnaware implements EntryInterface
3030
* @param string $subjectModel subjectModel
3131
* @param string $subjectId subjectId
3232
* @param boolean $strict If strict (component fetch is mandatory,
33-
* if nothing is returned, exception will be throwed)
33+
* if nothing is returned, exception will be thrown)
3434
*/
3535
public function __construct($subjectModel, $subjectId, $strict = false)
3636
{

0 commit comments

Comments
 (0)