Completed
Pull Request — devel (#145)
by Litera
05:12
created
app/helpers.php 1 patch
Braces   +12 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,7 +9,8 @@  discard block
 block discarded – undo
9 9
 	 * @param  mixed
10 10
 	 * @return void
11 11
 	 */
12
-	function dd() {
12
+	function dd()
13
+	{
13 14
 		array_map(function ($x){
14 15
 			(\Tracy\Debugger::dump($x));
15 16
 		}, func_get_args());
@@ -24,7 +25,8 @@  discard block
 block discarded – undo
24 25
 	 *
25 26
 	 * @return string
26 27
 	 */
27
-	function appVersion() {
28
+	function appVersion()
29
+	{
28 30
 		$packagePath = realpath(__DIR__ . '/../package.json');
29 31
 		$package = json_decode(file_get_contents($packagePath));
30 32
 
@@ -38,7 +40,8 @@  discard block
 block discarded – undo
38 40
      *
39 41
      * @return string
40 42
      */
41
-    function webpackManifest(string $name = null) {
43
+    function webpackManifest(string $name = null)
44
+    {
42 45
         $manifestPath = realpath(__DIR__ . '/../www/manifest.json');
43 46
         $manifest = json_decode(file_get_contents($manifestPath), true);
44 47
 
@@ -56,7 +59,8 @@  discard block
 block discarded – undo
56 59
      *
57 60
      * @return string
58 61
      */
59
-    function mainCss() {
62
+    function mainCss()
63
+    {
60 64
         return webpackManifest('main.css');
61 65
     }
62 66
 }
@@ -67,7 +71,8 @@  discard block
 block discarded – undo
67 71
      *
68 72
      * @return string
69 73
      */
70
-    function mainJs() {
74
+    function mainJs()
75
+    {
71 76
         return webpackManifest('main.js');
72 77
     }
73 78
 }
@@ -78,7 +83,8 @@  discard block
 block discarded – undo
78 83
      *
79 84
      * @return string
80 85
      */
81
-    function vendorJs() {
86
+    function vendorJs()
87
+    {
82 88
         return webpackManifest('vendor.js');
83 89
     }
84 90
 }
Please login to merge, or discard this patch.