@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * File was created 09.06.2015 06:50 |
|
4 | - * |
|
5 | - * @author Karsten J. Gerber <[email protected]> |
|
6 | - */ |
|
3 | + * File was created 09.06.2015 06:50 |
|
4 | + * |
|
5 | + * @author Karsten J. Gerber <[email protected]> |
|
6 | + */ |
|
7 | 7 | namespace PeekAndPoke\Component\Psi\Operation\FullSet; |
8 | 8 | |
9 | 9 | use PeekAndPoke\Component\Psi\Interfaces\Operation\FullSetOperationInterface; |
@@ -21,13 +21,13 @@ |
||
21 | 21 | */ |
22 | 22 | public function apply(\Iterator $set) |
23 | 23 | { |
24 | - $ret = []; |
|
24 | + $ret = [ ]; |
|
25 | 25 | $func = $this->function; |
26 | 26 | |
27 | 27 | foreach ($set as $item) { |
28 | 28 | $group = $func($item); |
29 | 29 | |
30 | - $ret[$group][] = $item; |
|
30 | + $ret[ $group ][ ] = $item; |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | return new \ArrayIterator($ret); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * File was created 12.06.2015 12:38 |
|
4 | - * |
|
5 | - * @author Karsten J. Gerber <[email protected]> |
|
6 | - */ |
|
3 | + * File was created 12.06.2015 12:38 |
|
4 | + * |
|
5 | + * @author Karsten J. Gerber <[email protected]> |
|
6 | + */ |
|
7 | 7 | namespace PeekAndPoke\Component\Psi\Operation\FullSet; |
8 | 8 | |
9 | 9 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | |
31 | 31 | usort( |
32 | 32 | $data, |
33 | - function ($i1, $i2) use ($func) { |
|
33 | + function($i1, $i2) use ($func) { |
|
34 | 34 | |
35 | 35 | $val1 = $func($i1); |
36 | 36 | $val2 = $func($i2); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * File was created 06.05.2015 22:14 |
|
4 | - * |
|
5 | - * @author Karsten J. Gerber <[email protected]> |
|
6 | - */ |
|
3 | + * File was created 06.05.2015 22:14 |
|
4 | + * |
|
5 | + * @author Karsten J. Gerber <[email protected]> |
|
6 | + */ |
|
7 | 7 | namespace PeekAndPoke\Component\Psi\Operation\FullSet; |
8 | 8 | |
9 | 9 | use PeekAndPoke\Component\Psi\Interfaces\Operation\FullSetOperationInterface; |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * File was created 06.05.2015 22:18 |
|
4 | - * |
|
5 | - * @author Karsten J. Gerber <[email protected]> |
|
6 | - */ |
|
3 | + * File was created 06.05.2015 22:18 |
|
4 | + * |
|
5 | + * @author Karsten J. Gerber <[email protected]> |
|
6 | + */ |
|
7 | 7 | namespace PeekAndPoke\Component\Psi\Operation\Intermediate\Functional; |
8 | 8 | |
9 | 9 | use PeekAndPoke\Component\Psi\Interfaces\Operation\IntermediateOperationInterface; |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * File was created 06.05.2015 21:00 |
|
4 | - * |
|
5 | - * @author Karsten J. Gerber <[email protected]> |
|
6 | - */ |
|
3 | + * File was created 06.05.2015 21:00 |
|
4 | + * |
|
5 | + * @author Karsten J. Gerber <[email protected]> |
|
6 | + */ |
|
7 | 7 | namespace PeekAndPoke\Component\Psi\Operation\Intermediate\Functional; |
8 | 8 | |
9 | 9 | use PeekAndPoke\Component\Psi\Interfaces\Operation\IntermediateOperationInterface; |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * File was created 07.05.2015 12:05 |
|
4 | - * |
|
5 | - * @author Karsten J. Gerber <[email protected]> |
|
6 | - */ |
|
3 | + * File was created 07.05.2015 12:05 |
|
4 | + * |
|
5 | + * @author Karsten J. Gerber <[email protected]> |
|
6 | + */ |
|
7 | 7 | namespace PeekAndPoke\Component\Psi\Operation\Intermediate\Predicate; |
8 | 8 | |
9 | 9 | use PeekAndPoke\Component\Psi\Interfaces\Functions\UnaryFunctionInterface; |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * File was created 06.05.2015 16:25 |
|
4 | - * |
|
5 | - * @author Karsten J. Gerber <[email protected]> |
|
6 | - */ |
|
3 | + * File was created 06.05.2015 16:25 |
|
4 | + * |
|
5 | + * @author Karsten J. Gerber <[email protected]> |
|
6 | + */ |
|
7 | 7 | namespace PeekAndPoke\Component\Psi\Operation\Intermediate\Predicate; |
8 | 8 | |
9 | 9 | /** |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * File was created 08.05.2015 15:26 |
|
4 | - * |
|
5 | - * @author Karsten J. Gerber <[email protected]> |
|
6 | - */ |
|
3 | + * File was created 08.05.2015 15:26 |
|
4 | + * |
|
5 | + * @author Karsten J. Gerber <[email protected]> |
|
6 | + */ |
|
7 | 7 | namespace PeekAndPoke\Component\Psi\Operation\Terminal; |
8 | 8 | |
9 | 9 | use PeekAndPoke\Component\Psi\Interfaces\Operation\TerminalOperationInterface; |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * File was created 07.05.2015 09:11 |
|
4 | - * |
|
5 | - * @author Karsten J. Gerber <[email protected]> |
|
6 | - */ |
|
3 | + * File was created 07.05.2015 09:11 |
|
4 | + * |
|
5 | + * @author Karsten J. Gerber <[email protected]> |
|
6 | + */ |
|
7 | 7 | namespace PeekAndPoke\Component\Psi\Operation\Terminal; |
8 | 8 | |
9 | 9 | use PeekAndPoke\Component\Psi\Interfaces\Operation\TerminalOperationInterface; |