Test Failed
Push — 252-better-meta-error-logging ( af19ff )
by Jonathan
07:27 queued 02:46
created
force.com-toolkit-for-php/soapclient/SforceEnterpriseClient.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,9 +41,8 @@  discard block
 block discarded – undo
41 41
   }
42 42
   /**
43 43
    * Adds one or more new individual objects to your organization's data.
44
-   * @param array $sObjects    Array of one or more sObjects (up to 200) to create.
45
-   * @param AssignmentRuleHeader $assignment_header is optional.  Defaults to NULL
46
-   * @param MruHeader $mru_header is optional.  Defaults to NULL
44
+   * @param array $sObjects    Array of one or more sObjects (up to 200) to create.
45
+   * @param string $type
47 46
    * @return SaveResult
48 47
    */
49 48
   public function create($sObjects, $type) {
@@ -72,7 +71,8 @@  discard block
 block discarded – undo
72 71
    * Updates one or more new individual objects to your organization's data.
73 72
    * @param array sObjects    Array of sObjects
74 73
    * @param AssignmentRuleHeader $assignment_header is optional.  Defaults to NULL
75
-   * @param MruHeader $mru_header is optional.  Defaults to NULL
74
+   * @param MruHeader $mru_header is optional.  Defaults to NULL
75
+   * @param string $type
76 76
    * @return UpdateResult
77 77
    */
78 78
   public function update($sObjects, $type, $assignment_header = NULL, $mru_header = NULL) {
Please login to merge, or discard this patch.
developerforce/force.com-toolkit-for-php/soapclient/SforceHeaderOptions.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,10 @@  discard block
 block discarded – undo
35 35
 	public $client;
36 36
 	public $defaultNamespace;
37 37
 
38
+	/**
39
+	 * @param string $client
40
+	 * @param string $defaultNamespace
41
+	 */
38 42
 	public function __construct($client, $defaultNamespace=NULL) {
39 43
 		$this->client = $client;
40 44
 		$this->defaultNamespace = $defaultNamespace;
@@ -80,6 +84,9 @@  discard block
 block discarded – undo
80 84
 	// boolean that Indicates whether to update the list of most recently used items (True) or not (False).
81 85
 	public $updateMruFlag;
82 86
 
87
+	/**
88
+	 * @param boolean $bool
89
+	 */
83 90
 	public function __construct($bool) {
84 91
 		$this->updateMruFlag = $bool;
85 92
 	}
@@ -143,6 +150,9 @@  discard block
 block discarded – undo
143 150
 class AllowFieldTruncationHeader {
144 151
     public $allowFieldTruncation;
145 152
     
153
+    /**
154
+     * @param boolean $allowFieldTruncation
155
+     */
146 156
     public function __construct($allowFieldTruncation) {
147 157
         $this->allowFieldTruncation = $allowFieldTruncation;
148 158
     }
@@ -171,7 +181,7 @@  discard block
 block discarded – undo
171 181
     /**
172 182
      * Class constructor.
173 183
      * 
174
-     * @param array $packageVersions
184
+     * @param stdClass[] $packageVersions
175 185
      * @return void
176 186
      */
177 187
     public function __construct($packageVersions) {
Please login to merge, or discard this patch.
force.com-toolkit-for-php/soapclient/SforceMetadataClient.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
 
35 35
   protected $namespace = 'http://soap.sforce.com/2006/04/metadata';
36 36
 
37
+  /**
38
+   * @param string $wsdl
39
+   */
37 40
   public function __construct($wsdl, $loginResult, $sforceConn) {
38 41
 
39 42
     $soapClientArray = null;
@@ -117,6 +120,9 @@  discard block
 block discarded – undo
117 120
     $this->sforce->__setSoapHeaders($header_array);
118 121
   }
119 122
   
123
+  /**
124
+   * @return string|null
125
+   */
120 126
   private function getObjtype($obj) {
121 127
     $classArray = explode('\\', get_class($obj));
122 128
     $objtype = array_pop($classArray);
@@ -126,6 +132,9 @@  discard block
 block discarded – undo
126 132
     return $objtype;
127 133
   }
128 134
 
135
+  /**
136
+   * @param SforceCustomObject $obj
137
+   */
129 138
   public function create($obj) {
130 139
     $encodedObj = new stdClass();
131 140
     $encodedObj->metadata = new SoapVar($obj, SOAP_ENC_OBJECT, $this->getObjtype($obj), $this->namespace);
@@ -141,6 +150,9 @@  discard block
 block discarded – undo
141 150
     return $this->sforce->update($encodedObj);
142 151
   }
143 152
   
153
+  /**
154
+   * @param SforceCustomObject $obj
155
+   */
144 156
   public function delete($obj) {
145 157
     $encodedObj = new stdClass();
146 158
     $encodedObj->metadata = new SoapVar($obj, SOAP_ENC_OBJECT, $this->getObjtype($obj), $this->namespace);
Please login to merge, or discard this patch.
developerforce/force.com-toolkit-for-php/soapclient/SforcePartnerClient.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,7 +103,6 @@  discard block
 block discarded – undo
103 103
    * Merge records
104 104
    *
105 105
    * @param stdclass $mergeRequest
106
-   * @param String $type
107 106
    * @return mixed
108 107
    */
109 108
   public function merge($mergeRequest) {
@@ -119,7 +118,7 @@  discard block
 block discarded – undo
119 118
 
120 119
   /**
121 120
    * 
122
-   * @param array $request
121
+   * @param SingleEmailMessage[] $request
123 122
    */
124 123
   public function sendSingleEmail($request) {
125 124
     if (is_array($request)) {
@@ -138,7 +137,7 @@  discard block
 block discarded – undo
138 137
 
139 138
   /**
140 139
    *
141
-   * @param array $request
140
+   * @param MassEmailMessage[] $request
142 141
    */
143 142
   public function sendMassEmail($request) {
144 143
     if (is_array($request)) {
@@ -206,7 +205,7 @@  discard block
 block discarded – undo
206 205
 
207 206
   /**
208 207
    *
209
-   * @param mixed $response
208
+   * @param SObject[] $response
210 209
    * @return array
211 210
    */
212 211
   private function _retrieveResult($response) {
Please login to merge, or discard this patch.
developerforce/force.com-toolkit-for-php/test/SforcePartnerClientTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -46,6 +46,9 @@
 block discarded – undo
46 46
   protected $mylogin = null;
47 47
   protected $theId = null;
48 48
 
49
+  /**
50
+   * @param QueryResult $queryResult
51
+   */
49 52
   public function deleteAll($queryResult) {
50 53
     $records = $queryResult->records;
51 54
     $ids = array ();
Please login to merge, or discard this patch.
developerforce/force.com-toolkit-for-php/unit_test/Lib/Utils/FileLogger.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 	private $_hanlder;
10 10
 	private $_withTimeStamps;
11 11
 	
12
+	/**
13
+	 * @param string $filename
14
+	 */
12 15
 	function __construct($filename, $mode = 'a+', $withTimeStamps = FALSE) {
13 16
 		$this->_filename = $filename;
14 17
 		$this->_hanlder = fopen($filename, $mode);
Please login to merge, or discard this patch.
vendor/pippinsplugins/wp-logging/WP_Logging.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 	 * @since       1.0
203 203
 	 *
204 204
 	 *
205
-	 * @return     array
205
+	 * @return     boolean
206 206
 	*/
207 207
 
208 208
 	private static function valid_type( $type ) {
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
 	 * @uses 		wp_update_post()
301 301
 	 * @uses 		update_post_meta()
302 302
 	 *
303
-	 * @return      bool True if successful, false otherwise
303
+	 * @return      boolean|null True if successful, false otherwise
304 304
 	*/
305 305
 	public static function update_log( $log_data = array(), $log_meta = array() ) {
306 306
 
Please login to merge, or discard this patch.
prospress/action-scheduler/classes/ActionScheduler_Abstract_QueueRunner.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
 	/**
120 120
 	 * Get the number of seconds the process has been running.
121 121
 	 *
122
-	 * @return int The number of seconds.
122
+	 * @return double The number of seconds.
123 123
 	 */
124 124
 	protected function get_execution_time() {
125 125
 		$execution_time = microtime( true ) - $this->created_time;
Please login to merge, or discard this patch.
prospress/action-scheduler/classes/ActionScheduler_wpCommentLogger.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@  discard block
 block discarded – undo
24 24
 		return $comment_id;
25 25
 	}
26 26
 
27
+	/**
28
+	 * @param string $action_id
29
+	 * @param string $message
30
+	 */
27 31
 	protected function create_wp_comment( $action_id, $message, DateTime $date ) {
28 32
 
29 33
 		$comment_date_gmt = $date->format('Y-m-d H:i:s');
@@ -83,6 +87,11 @@  discard block
 block discarded – undo
83 87
 		return $logs;
84 88
 	}
85 89
 
90
+	/**
91
+	 * @param string $comment_id
92
+	 *
93
+	 * @return DateTime|null
94
+	 */
86 95
 	protected function get_comment( $comment_id ) {
87 96
 		return get_comment( $comment_id );
88 97
 	}
Please login to merge, or discard this patch.