@@ -121,7 +121,7 @@ |
||
| 121 | 121 | if(!is_null($ressourcePath)){ |
| 122 | 122 | $this->builPath = 'accounts/'.$this->getAccountCode().$ressourceAdded; |
| 123 | 123 | return $this->builPath; |
| 124 | - }else{ |
|
| 124 | + } else{ |
|
| 125 | 125 | $this->builPath = $ressourceName.'/'.$this->getAccountCode().$ressourceAdded; |
| 126 | 126 | return $this->builPath; |
| 127 | 127 | } |
@@ -69,8 +69,7 @@ |
||
| 69 | 69 | 'registrationCode' => $registrationCertainResults->registrations[0]->registrationCode, |
| 70 | 70 | 'attendeeTypeCode' => (isset($registrationCertainResults->registrations[0]->attendeeTypeCode))?$registrationCertainResults->registrations[0]->attendeeTypeCode:'', |
| 71 | 71 | ]; |
| 72 | - } |
|
| 73 | - elseif($registrationCertainResults->size > 0 && $returnRegCode){ |
|
| 72 | + } elseif($registrationCertainResults->size > 0 && $returnRegCode){ |
|
| 74 | 73 | return $registrationCertainResults->registrations[0]->registrationCode; |
| 75 | 74 | } elseif($registrationCertainResults->size > 0 && !$returnRegCode){ |
| 76 | 75 | return true; |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | |
| 63 | 63 | if($contentType === 'json'){ |
| 64 | 64 | $response['results'] = $this->jsonp_decode($bodyString, $assoc); |
| 65 | - }else{ |
|
| 65 | + } else{ |
|
| 66 | 66 | $response['results']=$bodyString; |
| 67 | 67 | } |
| 68 | 68 | |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @param sring $filePath |
|
| 54 | + * @param string $filePath |
|
| 55 | 55 | * @param array $element |
| 56 | 56 | * @return void |
| 57 | 57 | */ |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @param $eventCode |
|
| 51 | + * @param string $eventCode |
|
| 52 | 52 | * @param null|int $start |
| 53 | 53 | * @param null|int $maxResult |
| 54 | 54 | * @return mixed |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | |
| 210 | 210 | /** |
| 211 | 211 | * @param array $appointments |
| 212 | - * @param $timestamp |
|
| 212 | + * @param string $timestamp |
|
| 213 | 213 | * @return array |
| 214 | 214 | */ |
| 215 | 215 | public static function insertDateTimeChanges(array $appointments, $timestamp) |