@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Ion |
|
4 | - * |
|
5 | - * Building blocks for web development |
|
6 | - * |
|
7 | - * @package Ion |
|
8 | - * @author Timothy J. Warren |
|
9 | - * @copyright Copyright (c) 2015 - 2016 |
|
10 | - * @license MIT |
|
11 | - */ |
|
3 | + * Ion |
|
4 | + * |
|
5 | + * Building blocks for web development |
|
6 | + * |
|
7 | + * @package Ion |
|
8 | + * @author Timothy J. Warren |
|
9 | + * @copyright Copyright (c) 2015 - 2016 |
|
10 | + * @license MIT |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | namespace Aviat\Ion\Di\Exception; |
14 | 14 |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Ion |
|
4 | - * |
|
5 | - * Building blocks for web development |
|
6 | - * |
|
7 | - * @package Ion |
|
8 | - * @author Timothy J. Warren |
|
9 | - * @copyright Copyright (c) 2015 - 2016 |
|
10 | - * @license MIT |
|
11 | - */ |
|
3 | + * Ion |
|
4 | + * |
|
5 | + * Building blocks for web development |
|
6 | + * |
|
7 | + * @package Ion |
|
8 | + * @author Timothy J. Warren |
|
9 | + * @copyright Copyright (c) 2015 - 2016 |
|
10 | + * @license MIT |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | namespace Aviat\Ion\Di\Exception; |
14 | 14 |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Ion |
|
4 | - * |
|
5 | - * Building blocks for web development |
|
6 | - * |
|
7 | - * @package Ion |
|
8 | - * @author Timothy J. Warren |
|
9 | - * @copyright Copyright (c) 2015 - 2016 |
|
10 | - * @license MIT |
|
11 | - */ |
|
3 | + * Ion |
|
4 | + * |
|
5 | + * Building blocks for web development |
|
6 | + * |
|
7 | + * @package Ion |
|
8 | + * @author Timothy J. Warren |
|
9 | + * @copyright Copyright (c) 2015 - 2016 |
|
10 | + * @license MIT |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | namespace Aviat\Ion\Di\Exception; |
14 | 14 |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Ion |
|
4 | - * |
|
5 | - * Building blocks for web development |
|
6 | - * |
|
7 | - * @package Ion |
|
8 | - * @author Timothy J. Warren |
|
9 | - * @copyright Copyright (c) 2015 - 2016 |
|
10 | - * @license MIT |
|
11 | - */ |
|
3 | + * Ion |
|
4 | + * |
|
5 | + * Building blocks for web development |
|
6 | + * |
|
7 | + * @package Ion |
|
8 | + * @author Timothy J. Warren |
|
9 | + * @copyright Copyright (c) 2015 - 2016 |
|
10 | + * @license MIT |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | namespace Aviat\Ion\Di\Exception; |
14 | 14 |
@@ -81,7 +81,7 @@ |
||
81 | 81 | * |
82 | 82 | * @param string $file |
83 | 83 | * @param mixed $data |
84 | - * @return bool |
|
84 | + * @return integer |
|
85 | 85 | */ |
86 | 86 | public static function json_file_encode($file, $data) |
87 | 87 | { |
@@ -70,10 +70,10 @@ |
||
70 | 70 | */ |
71 | 71 | public static function json_file_decode($file, $as_array=TRUE) |
72 | 72 | { |
73 | - return json_decode( |
|
74 | - file_get_contents($file), |
|
75 | - $as_array |
|
76 | - ); |
|
73 | + return json_decode( |
|
74 | + file_get_contents($file), |
|
75 | + $as_array |
|
76 | + ); |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
@@ -68,7 +68,7 @@ |
||
68 | 68 | * @param bool $as_array |
69 | 69 | * @return array|object |
70 | 70 | */ |
71 | - public static function json_file_decode($file, $as_array=TRUE) |
|
71 | + public static function json_file_decode($file, $as_array = TRUE) |
|
72 | 72 | { |
73 | 73 | return json_decode( |
74 | 74 | file_get_contents($file), |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Ion |
|
4 | - * |
|
5 | - * Building blocks for web development |
|
6 | - * |
|
7 | - * @package Ion |
|
8 | - * @author Timothy J. Warren |
|
9 | - * @copyright Copyright (c) 2015 - 2016 |
|
10 | - * @license MIT |
|
11 | - */ |
|
3 | + * Ion |
|
4 | + * |
|
5 | + * Building blocks for web development |
|
6 | + * |
|
7 | + * @package Ion |
|
8 | + * @author Timothy J. Warren |
|
9 | + * @copyright Copyright (c) 2015 - 2016 |
|
10 | + * @license MIT |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | namespace Aviat\Ion\Di\Exception; |
14 | 14 |
@@ -23,8 +23,8 @@ |
||
23 | 23 | * Encode data in json format |
24 | 24 | * |
25 | 25 | * @param mixed $data |
26 | - * @param int $options=0 |
|
27 | - * @param int $depth=512 |
|
26 | + * @param int $options |
|
27 | + * @param int $depth |
|
28 | 28 | * @return string |
29 | 29 | */ |
30 | 30 | public static function encode($data, $options = 0, $depth = 512) |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Ion |
|
4 | - * |
|
5 | - * Building blocks for web development |
|
6 | - * |
|
7 | - * @package Ion |
|
8 | - * @author Timothy J. Warren |
|
9 | - * @copyright Copyright (c) 2015 - 2016 |
|
10 | - * @license MIT |
|
11 | - */ |
|
3 | + * Ion |
|
4 | + * |
|
5 | + * Building blocks for web development |
|
6 | + * |
|
7 | + * @package Ion |
|
8 | + * @author Timothy J. Warren |
|
9 | + * @copyright Copyright (c) 2015 - 2016 |
|
10 | + * @license MIT |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | namespace Aviat\Ion\Di\Exception; |
14 | 14 |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Ion |
|
4 | - * |
|
5 | - * Building blocks for web development |
|
6 | - * |
|
7 | - * @package Ion |
|
8 | - * @author Timothy J. Warren |
|
9 | - * @copyright Copyright (c) 2015 - 2016 |
|
10 | - * @license MIT |
|
11 | - */ |
|
3 | + * Ion |
|
4 | + * |
|
5 | + * Building blocks for web development |
|
6 | + * |
|
7 | + * @package Ion |
|
8 | + * @author Timothy J. Warren |
|
9 | + * @copyright Copyright (c) 2015 - 2016 |
|
10 | + * @license MIT |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | namespace Aviat\Ion\Di\Exception; |
14 | 14 |