Completed
Push — master ( e17cde...4e8829 )
by Hao
05:46 queued 02:51
created
src/DingRobot/Message/Base.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
             return;
44 44
         }
45 45
         foreach ($this->bodyFields() as $field => $config) {
46
-            $content  = isset($this->body[$field]) ? $this->body[$field] : null;
46
+            $content = isset($this->body[$field]) ? $this->body[$field] : null;
47 47
             if ($config['required'] && $content === null) {
48 48
                 throw new \InvalidArgumentException("{$field} is required");
49 49
             }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function send($wen_hook = '', RequesterContract $requester = null)
66 66
     {
67
-        $wen_hook = $wen_hook? $wen_hook : d_web_hook();
67
+        $wen_hook = $wen_hook ? $wen_hook : d_web_hook();
68 68
 
69 69
         if (!$wen_hook) {
70 70
             throw new \InvalidArgumentException("set web hook");
Please login to merge, or discard this patch.