Completed
Push — work-fleets ( 1f2a61...18e75e )
by SuperNova.WS
07:59
created
buddy.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
  * Idea from buddy.php Created by Perberos. All rights reversed (C) 2006
15 15
  * */
16 16
 
17
-include('common.' . substr(strrchr(__FILE__, '.'), 1));
17
+include('common.'.substr(strrchr(__FILE__, '.'), 1));
18 18
 
19 19
 /**
20 20
  * @var array $user
@@ -35,14 +35,14 @@  discard block
 block discarded – undo
35 35
   $cBuddy->new_friend_name_unsafe = sys_get_param_str_unsafe('request_user_name');
36 36
   $cBuddy->new_request_text_unsafe = sys_get_param_str_unsafe('request_text');
37 37
   $cBuddy->playerArray = $user;
38
-  $cBuddy->playerId = function (BuddyRoutingParams $cBuddy) {
38
+  $cBuddy->playerId = function(BuddyRoutingParams $cBuddy) {
39 39
     return $cBuddy->playerArray['id'];
40 40
   };
41
-  $cBuddy->playerName = function (BuddyRoutingParams $cBuddy) {
41
+  $cBuddy->playerName = function(BuddyRoutingParams $cBuddy) {
42 42
     return $cBuddy->playerArray['username'];
43 43
   };
44
-  $cBuddy->playerNameAndCoordinates = function (BuddyRoutingParams $cBuddy) {
45
-    return "{$cBuddy->playerArray['username']} " . uni_render_coordinates($cBuddy->playerArray);
44
+  $cBuddy->playerNameAndCoordinates = function(BuddyRoutingParams $cBuddy) {
45
+    return "{$cBuddy->playerArray['username']} ".uni_render_coordinates($cBuddy->playerArray);
46 46
   };
47 47
 
48 48
   classSupernova::$gc->buddy->route($cBuddy);
Please login to merge, or discard this patch.
includes/classes/V2PropertyContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     if (is_callable($callable)) {
130 130
       $this->{$type}[$varName] = $callable;
131 131
     } else {
132
-      throw new Exception('Error assigning callable in ' . get_called_class() . '! Callable typed [' . $type . '] is not a callable or not accessible in the scope');
132
+      throw new Exception('Error assigning callable in '.get_called_class().'! Callable typed ['.$type.'] is not a callable or not accessible in the scope');
133 133
     }
134 134
   }
135 135
 
Please login to merge, or discard this patch.
includes/classes/V2Unit/V2UnitModel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,14 +82,14 @@  discard block
 block discarded – undo
82 82
     $this->_container->assignAccessor(
83 83
       'type',
84 84
       P_CONTAINER_SETTER,
85
-      function ($value) use ($that) {
85
+      function($value) use ($that) {
86 86
         $that->type = $value;
87 87
       }
88 88
     );
89 89
     $this->_container->assignAccessor(
90 90
       'level',
91 91
       P_CONTAINER_IMPORTER,
92
-      function (&$row) use ($that) {
92
+      function(&$row) use ($that) {
93 93
 //pdump('level setter is launched');
94 94
 //pdump($row, '$row');
95 95
 //var_dump($that);
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     $this->_container->assignAccessor(
111 111
       'dbLevel',
112 112
       P_CONTAINER_EXPORTER,
113
-      function (&$row) use ($that) {
113
+      function(&$row) use ($that) {
114 114
 //pdump('level setter is launched');
115 115
 //pdump($row, '$row');
116 116
 //var_dump($that);
Please login to merge, or discard this patch.