Completed
Push — master ( 2dac38...17d12a )
by Ashleigh
01:38
created
src/Salesforce.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * Create object dynamically
66 66
      *
67
-     * @param $method
67
+     * @param string $method
68 68
      * @param $args
69 69
      * @return bool
70 70
      */
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
         return (new BaseObject($this, $type))->create($args[0]);
81 81
     }
82 82
 
83
+    /**
84
+     * @param string $method
85
+     */
83 86
     private function callUpdateOnObject($method, $args)
84 87
     {
85 88
         $type = substr($method, 6);
@@ -92,6 +95,9 @@  discard block
 block discarded – undo
92 95
         return (new BaseObject($this, $type))->update($type, $args[0]);
93 96
     }
94 97
 
98
+    /**
99
+     * @param string $method
100
+     */
95 101
     private function callDeleteOnObject($method, $args)
96 102
     {
97 103
         $type = substr($method, 6);
@@ -104,6 +110,9 @@  discard block
 block discarded – undo
104 110
         return (new BaseObject($this, $type))->delete($type, $args[0]);
105 111
     }
106 112
 
113
+    /**
114
+     * @param string $method
115
+     */
107 116
     private function callGetOnObject($method, $args)
108 117
     {
109 118
         $type = substr($method, 3);
Please login to merge, or discard this patch.