@@ -43,7 +43,7 @@ public static function list(Auth $auth): array
4343 * @param Auth $auth Instance of the Auth object
4444 * @param String $status - Null for all states
4545 * - 0 for parcels awaiting closure
46- * - 1 for closed parcels
46+ * - 1 for closed parcels
4747 * @return array List of parcels
4848 */
4949 public static function listByStatus (Auth $ auth , String $ status = "" ): array
@@ -60,8 +60,8 @@ public static function listByStatus(Auth $auth, String $status = ""): array
6060 * form "date to". If "date to" is not specified, then the current date is used.
6161 * Hours and minutes are optional.
6262 * @param Auth $auth Instance of the Auth object
63- * @param String $dateFrom The format should be YYYYMMDDHHII (year-month-day-hour-minute)
64- * @param String $dateTo The format should be YYYYMMDDHHII (year-month-day-hour-minute)
63+ * @param String $dateFrom The format should be YYYYMMDDHHII (year-month-day-hour-minute)
64+ * @param String $dateTo The format should be YYYYMMDDHHII (year-month-day-hour-minute)
6565 * @return array List of parcels
6666 */
6767 public static function listByPeriod (Auth $ auth , String $ dateFrom = "" , String $ dateTo = "" ): array
@@ -92,10 +92,10 @@ public static function add(Auth $auth, array $parcels): array
9292 $ xmlData ['Parcel__ ' .$ i ] = (array )$ parcelAdapter ->get ();
9393 $ i ++;
9494 }
95-
95+
9696 $ xmlData = array_merge ((array )$ authAdapter ->get (), $ xmlData );
9797 $ xml = new \SimpleXMLElement ('<Info/> ' );
98- static ::toXml ($ xml , $ xmlData );
98+ static ::toXml ($ xml , $ xmlData );
9999 $ result = static ::get ('AddParcel ' , ['XMLInfoParcel ' => $ xml ->asXML ()]);
100100
101101 return ParcelAdapter::parseAddResponse ($ result );
0 commit comments