Completed
Push — master ( 30403d...e08a79 )
by Raphaël
02:31
created
src/CertainApiClient.php 3 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -147,8 +147,8 @@  discard block
 block discarded – undo
147 147
      * @return array
148 148
      */
149 149
     public function post($ressourceName, $ressourcePath =null, $ressourceId = null,
150
-                         $bodyData = array(), $query = array(), $assoc = false,
151
-                         $contentType = 'json')
150
+                            $bodyData = array(), $query = array(), $assoc = false,
151
+                            $contentType = 'json')
152 152
     {
153 153
         if ($contentType !== 'json') {
154 154
             throw new \Exception('Use only json to update or create');
@@ -179,8 +179,8 @@  discard block
 block discarded – undo
179 179
      * @return array
180 180
      */
181 181
     public function put($ressourceName, $ressourcePath =null, $ressourceId = null,
182
-                         $bodyData = array(), $query = array(), $assoc = false,
183
-                         $contentType = 'json')
182
+                            $bodyData = array(), $query = array(), $assoc = false,
183
+                            $contentType = 'json')
184 184
     {
185 185
         if ($contentType !== 'json') {
186 186
             throw new \Exception('Use only json to update or create');
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      * @return array
210 210
      */
211 211
     public function delete($ressourceName, $ressourcePath =null, $ressourceId = null, $assoc = false,
212
-                           $contentType = 'json')
212
+                            $contentType = 'json')
213 213
     {
214 214
         try {
215 215
             $urlRessource = $this->builPathToCall($ressourceName, $ressourcePath, $ressourceId);
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -91,19 +91,19 @@  discard block
 block discarded – undo
91 91
      * @param string $ressourceId
92 92
      * @return string
93 93
      */
94
-    private function builPathToCall($ressourceName,$ressourcePath =null, $ressourceId = null)
94
+    private function builPathToCall($ressourceName, $ressourcePath = null, $ressourceId = null)
95 95
     {
96 96
         $ressourceAdded = '';
97
-        if(!is_null($ressourcePath)){
97
+        if (!is_null($ressourcePath)) {
98 98
             $ressourceAdded = $ressourcePath;
99 99
         }
100 100
         
101 101
         if ($ressourceId !== null) {
102 102
             $ressourceAdded = '/'.$ressourceId;
103 103
         }
104
-        if(!is_null($ressourcePath)){
104
+        if (!is_null($ressourcePath)) {
105 105
             return  '/accounts/'.$this->getAccountCode().$ressourceAdded;
106
-        }else{
106
+        }else {
107 107
             return $ressourceName.'/'.$this->getAccountCode().$ressourceAdded;
108 108
         }
109 109
         
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @param string $contentType
120 120
      * @return array
121 121
      */
122
-    public function get($ressourceName, $ressourcePath =null, $ressourceId = null, $query = array(),
122
+    public function get($ressourceName, $ressourcePath = null, $ressourceId = null, $query = array(),
123 123
                         $assoc = false, $contentType = 'json')
124 124
     {
125 125
         try {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      * @param string $contentType
147 147
      * @return array
148 148
      */
149
-    public function post($ressourceName, $ressourcePath =null, $ressourceId = null,
149
+    public function post($ressourceName, $ressourcePath = null, $ressourceId = null,
150 150
                          $bodyData = array(), $query = array(), $assoc = false,
151 151
                          $contentType = 'json')
152 152
     {
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      * @param string $contentType
179 179
      * @return array
180 180
      */
181
-    public function put($ressourceName, $ressourcePath =null, $ressourceId = null,
181
+    public function put($ressourceName, $ressourcePath = null, $ressourceId = null,
182 182
                          $bodyData = array(), $query = array(), $assoc = false,
183 183
                          $contentType = 'json')
184 184
     {
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      * @param string $contentType
209 209
      * @return array
210 210
      */
211
-    public function delete($ressourceName, $ressourcePath =null, $ressourceId = null, $assoc = false,
211
+    public function delete($ressourceName, $ressourcePath = null, $ressourceId = null, $assoc = false,
212 212
                            $contentType = 'json')
213 213
     {
214 214
         try {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
                     throw new Exceptions\RessourceMandatoryFieldException(sprintf('The field %s is required',$field));
109 109
                 }
110 110
             }
111
-        }else{
111
+        } else{
112 112
             throw new Exceptions\RessourceMandatoryFieldException(sprintf('The id field is required'));
113 113
         }
114 114
         $this->results = $this->certainApiService->put($ressourceName, $this->ressourceCalled, $ressourceId, $bodyData, $query, $assoc, $contentType);
Please login to merge, or discard this patch.
src/CertainApiService.php 2 patches
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -45,59 +45,59 @@
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-    * Send a "GET" request to get information about ressource;
49
-    * @param string $ressourceName
50
-    * @param string $ressourcePath
51
-    * @param string $ressourceId
52
-    * @param array $params
53
-    * @param boolean $assoc
54
-    * @param string $contentType
55
-    * @return array
56
-    */
48
+     * Send a "GET" request to get information about ressource;
49
+     * @param string $ressourceName
50
+     * @param string $ressourcePath
51
+     * @param string $ressourceId
52
+     * @param array $params
53
+     * @param boolean $assoc
54
+     * @param string $contentType
55
+     * @return array
56
+     */
57 57
     public function get($ressourceName, $ressourcePath =null, $ressourceId=null, $params = array(),$assoc = false,$contentType='json'){
58 58
         return $this->getCertainClient()->get($ressourceName, $ressourcePath, $ressourceId, $params, $assoc,$contentType);
59 59
     }
60 60
 
61 61
     /**
62
-    * Send a "POST" request to put information to certain;
63
-    * @param string $ressourceName
64
-    * @param string $ressourcePath
65
-    * @param string $ressourceId
66
-    * @param array $bodyData
67
-    * @param array $query
68
-    * @param boolean $assoc
69
-    * @param string $contentType
70
-    * @return array
71
-    */
62
+     * Send a "POST" request to put information to certain;
63
+     * @param string $ressourceName
64
+     * @param string $ressourcePath
65
+     * @param string $ressourceId
66
+     * @param array $bodyData
67
+     * @param array $query
68
+     * @param boolean $assoc
69
+     * @param string $contentType
70
+     * @return array
71
+     */
72 72
     public function post($ressourceName, $ressourcePath =null, $ressourceId=null, $bodyData = array(),$query=array(), $assoc = false,$contentType='json'){
73 73
         return $this->getCertainClient()->post($ressourceName, $ressourcePath, $ressourceId, $bodyData, $query, $assoc,$contentType);
74 74
     }
75 75
 
76 76
 
77 77
     /**
78
-    * Send a "PUT" request to put information to certain;
79
-    * @param string $ressourceName
80
-    * @param string $ressourcePath
81
-    * @param string $ressourceId
82
-    * @param array $bodyData
83
-    * @param array $query
84
-    * @param boolean $assoc
85
-    * @param string $contentType
86
-    * @return array
87
-    */
78
+     * Send a "PUT" request to put information to certain;
79
+     * @param string $ressourceName
80
+     * @param string $ressourcePath
81
+     * @param string $ressourceId
82
+     * @param array $bodyData
83
+     * @param array $query
84
+     * @param boolean $assoc
85
+     * @param string $contentType
86
+     * @return array
87
+     */
88 88
     public function put($ressourceName, $ressourcePath =null, $ressourceId=null, $bodyData = array(),$query=array(), $assoc = false,$contentType='json'){
89 89
         return $this->getCertainClient()->put($ressourceName, $ressourcePath, $ressourceId, $bodyData, $query, $assoc,$contentType);
90 90
     }
91 91
     
92 92
     /**
93
-    * Send a "DELETE" request to delete information from certain;
94
-    * @param string $ressourceName
95
-    * @param string $ressourcePath
96
-    * @param string $ressourceId
97
-    * @param boolean $assoc
98
-    * @param string $contentType
99
-    * @return array
100
-    */
93
+     * Send a "DELETE" request to delete information from certain;
94
+     * @param string $ressourceName
95
+     * @param string $ressourcePath
96
+     * @param string $ressourceId
97
+     * @param boolean $assoc
98
+     * @param string $contentType
99
+     * @return array
100
+     */
101 101
     public function delete($ressourceName, $ressourcePath =null, $ressourceId=null, $assoc = false,$contentType='json'){
102 102
         return $this->getCertainClient()->delete($ressourceName, $ressourcePath, $ressourceId, $assoc,$contentType);
103 103
     }
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 /**
6 6
  * CertainApiService
7 7
  */
8
-class CertainApiService{
8
+class CertainApiService {
9 9
     /**
10 10
      * An instance of the CertainApiClient
11 11
      * @var CertainApiClient
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      * Get the certain api client
41 41
      * @return CertainApiClient
42 42
      */
43
-    public function getCertainClient(){
43
+    public function getCertainClient() {
44 44
         return $this->certainClient;
45 45
     }
46 46
 
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
     * @param string $contentType
55 55
     * @return array
56 56
     */
57
-    public function get($ressourceName, $ressourcePath =null, $ressourceId=null, $params = array(),$assoc = false,$contentType='json'){
58
-        return $this->getCertainClient()->get($ressourceName, $ressourcePath, $ressourceId, $params, $assoc,$contentType);
57
+    public function get($ressourceName, $ressourcePath = null, $ressourceId = null, $params = array(), $assoc = false, $contentType = 'json') {
58
+        return $this->getCertainClient()->get($ressourceName, $ressourcePath, $ressourceId, $params, $assoc, $contentType);
59 59
     }
60 60
 
61 61
     /**
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
     * @param string $contentType
70 70
     * @return array
71 71
     */
72
-    public function post($ressourceName, $ressourcePath =null, $ressourceId=null, $bodyData = array(),$query=array(), $assoc = false,$contentType='json'){
73
-        return $this->getCertainClient()->post($ressourceName, $ressourcePath, $ressourceId, $bodyData, $query, $assoc,$contentType);
72
+    public function post($ressourceName, $ressourcePath = null, $ressourceId = null, $bodyData = array(), $query = array(), $assoc = false, $contentType = 'json') {
73
+        return $this->getCertainClient()->post($ressourceName, $ressourcePath, $ressourceId, $bodyData, $query, $assoc, $contentType);
74 74
     }
75 75
 
76 76
 
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
     * @param string $contentType
86 86
     * @return array
87 87
     */
88
-    public function put($ressourceName, $ressourcePath =null, $ressourceId=null, $bodyData = array(),$query=array(), $assoc = false,$contentType='json'){
89
-        return $this->getCertainClient()->put($ressourceName, $ressourcePath, $ressourceId, $bodyData, $query, $assoc,$contentType);
88
+    public function put($ressourceName, $ressourcePath = null, $ressourceId = null, $bodyData = array(), $query = array(), $assoc = false, $contentType = 'json') {
89
+        return $this->getCertainClient()->put($ressourceName, $ressourcePath, $ressourceId, $bodyData, $query, $assoc, $contentType);
90 90
     }
91 91
     
92 92
     /**
@@ -98,8 +98,8 @@  discard block
 block discarded – undo
98 98
     * @param string $contentType
99 99
     * @return array
100 100
     */
101
-    public function delete($ressourceName, $ressourcePath =null, $ressourceId=null, $assoc = false,$contentType='json'){
102
-        return $this->getCertainClient()->delete($ressourceName, $ressourcePath, $ressourceId, $assoc,$contentType);
101
+    public function delete($ressourceName, $ressourcePath = null, $ressourceId = null, $assoc = false, $contentType = 'json') {
102
+        return $this->getCertainClient()->delete($ressourceName, $ressourcePath, $ressourceId, $assoc, $contentType);
103 103
     }
104 104
 
105 105
 
Please login to merge, or discard this patch.
src/CertainRessourceAbstract.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
         return $this;
87 87
     }
88 88
 
89
-   /**
89
+    /**
90 90
      * Update information to certain
91 91
      * @param array $bodyData
92 92
      * @param array $query
Please login to merge, or discard this patch.
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -50,12 +50,12 @@  discard block
 block discarded – undo
50 50
      * @return \Wabel\CertainAPI\CertainRessourceAbstract
51 51
      * @throws Exceptions\RessourceException
52 52
      */
53
-    public function get($ressourceId= null,$params= array(), $assoc = false, $contentType='json'){
54
-        $ressourceName = $this->getRessourceName();;
55
-        if($ressourceName == '' || is_null($ressourceName)){
53
+    public function get($ressourceId = null, $params = array(), $assoc = false, $contentType = 'json') {
54
+        $ressourceName = $this->getRessourceName(); ;
55
+        if ($ressourceName == '' || is_null($ressourceName)) {
56 56
             throw new Exceptions\RessourceException('No ressource name provided.');
57 57
         }
58
-        $this->results = $this->certainApiService->get($ressourceName,$this->ressourceCalled, $ressourceId,$params, $assoc, $contentType);
58
+        $this->results = $this->certainApiService->get($ressourceName, $this->ressourceCalled, $ressourceId, $params, $assoc, $contentType);
59 59
         return $this;
60 60
     }
61 61
 
@@ -70,15 +70,15 @@  discard block
 block discarded – undo
70 70
      * @throws Exceptions\RessourceException
71 71
      * @throws Exceptions\RessourceMandatoryFieldException
72 72
      */
73
-    public function post($bodyData, $query=array(), $ressourceId= null, $assoc = false, $contentType='json'){
74
-        $ressourceName = $this->getRessourceName();;
75
-        if($ressourceName == '' || is_null($ressourceName)){
73
+    public function post($bodyData, $query = array(), $ressourceId = null, $assoc = false, $contentType = 'json') {
74
+        $ressourceName = $this->getRessourceName(); ;
75
+        if ($ressourceName == '' || is_null($ressourceName)) {
76 76
             throw new Exceptions\RessourceException('No ressource name provided.');
77 77
         }
78
-        if($ressourceId === null && count($this->getMandatoryFields())>0){
78
+        if ($ressourceId === null && count($this->getMandatoryFields())>0) {
79 79
             foreach ($this->getMandatoryFields() as $field) {
80
-                if(!in_array($field,  array_keys($bodyData))){
81
-                    throw new Exceptions\RessourceMandatoryFieldException(sprintf('The field %s is required',$field));
80
+                if (!in_array($field, array_keys($bodyData))) {
81
+                    throw new Exceptions\RessourceMandatoryFieldException(sprintf('The field %s is required', $field));
82 82
                 }
83 83
             }
84 84
         }
@@ -97,18 +97,18 @@  discard block
 block discarded – undo
97 97
      * @throws Exceptions\RessourceException
98 98
      * @throws Exceptions\RessourceMandatoryFieldException
99 99
      */
100
-    public function put($bodyData, $query=array(), $ressourceId= null, $assoc = false, $contentType='json'){
101
-        $ressourceName = $this->getRessourceName();;
102
-        if($ressourceName == '' || is_null($ressourceName)){
100
+    public function put($bodyData, $query = array(), $ressourceId = null, $assoc = false, $contentType = 'json') {
101
+        $ressourceName = $this->getRessourceName(); ;
102
+        if ($ressourceName == '' || is_null($ressourceName)) {
103 103
             throw new Exceptions\RessourceException('No ressource name provided.');
104 104
         }
105
-        if(!is_null($ressourceId) && count($this->getMandatoryFields())>0){
105
+        if (!is_null($ressourceId) && count($this->getMandatoryFields())>0) {
106 106
             foreach ($this->getMandatoryFields() as $field) {
107
-                if(!in_array($field,  array_keys($bodyData))){
108
-                    throw new Exceptions\RessourceMandatoryFieldException(sprintf('The field %s is required',$field));
107
+                if (!in_array($field, array_keys($bodyData))) {
108
+                    throw new Exceptions\RessourceMandatoryFieldException(sprintf('The field %s is required', $field));
109 109
                 }
110 110
             }
111
-        }else{
111
+        }else {
112 112
             throw new Exceptions\RessourceMandatoryFieldException(sprintf('The id field is required'));
113 113
         }
114 114
         $this->results = $this->certainApiService->put($ressourceName, $this->ressourceCalled, $ressourceId, $bodyData, $query, $assoc, $contentType);
@@ -123,9 +123,9 @@  discard block
 block discarded – undo
123 123
      * @return \Wabel\CertainAPI\CertainRessourceAbstract
124 124
      * @throws Exceptions\RessourceException
125 125
      */
126
-    public function delete($ressourceId, $assoc = false, $contentType='json'){
127
-        $ressourceName = $this->getRessourceName();;
128
-        if($ressourceName == '' || is_null($ressourceName)){
126
+    public function delete($ressourceId, $assoc = false, $contentType = 'json') {
127
+        $ressourceName = $this->getRessourceName(); ;
128
+        if ($ressourceName == '' || is_null($ressourceName)) {
129 129
             throw new Exceptions\RessourceException('No ressource name provided.');
130 130
         }
131 131
         $this->results = $this->certainApiService->delete($ressourceName, $this->ressourceCalled, $ressourceId, $assoc, $contentType);
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      * Get the succes value, results,  success or fail reason
155 155
      * @return array
156 156
      */
157
-    public function getCompleteResults(){
157
+    public function getCompleteResults() {
158 158
         return $this->results;
159 159
     }
160 160
 
@@ -165,11 +165,11 @@  discard block
 block discarded – undo
165 165
 
166 166
     public function createRessourceCalled($ressourceCalledParameters = null)
167 167
     {
168
-        if(is_array($ressourceCalledParameters) && !empty($ressourceCalledParameters)){
168
+        if (is_array($ressourceCalledParameters) && !empty($ressourceCalledParameters)) {
169 169
             foreach ($ressourceCalledParameters as $segmentKey => $segmentValue) {
170
-                if($segmentValue != ''){
170
+                if ($segmentValue != '') {
171 171
                     $this->ressourceCalled .= '/'.$segmentKey.'/'.$segmentValue;
172
-                }else{
172
+                }else {
173 173
                     $this->ressourceCalled .= '/'.$segmentKey;
174 174
                 }
175 175
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                     throw new Exceptions\RessourceMandatoryFieldException(sprintf('The field %s is required',$field));
109 109
                 }
110 110
             }
111
-        }else{
111
+        } else{
112 112
             throw new Exceptions\RessourceMandatoryFieldException(sprintf('The id field is required'));
113 113
         }
114 114
         $this->results = $this->certainApiService->put($ressourceName, $this->ressourceCalled, $ressourceId, $bodyData, $query, $assoc, $contentType);
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
             foreach ($ressourceCalledParameters as $segmentKey => $segmentValue) {
170 170
                 if($segmentValue != ''){
171 171
                     $this->ressourceCalled .= '/'.$segmentKey.'/'.$segmentValue;
172
-                }else{
172
+                } else{
173 173
                     $this->ressourceCalled .= '/'.$segmentKey;
174 174
                 }
175 175
 
Please login to merge, or discard this patch.
src/Response/CertainResponse.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@
 block discarded – undo
57 57
             $bodyString = $streamBody->getContents();
58 58
             
59 59
             if($contentType === 'json'){
60
-               $response['results'] = $this->jsonp_decode($bodyString, $assoc); 
60
+                $response['results'] = $this->jsonp_decode($bodyString, $assoc); 
61 61
             }else{
62
-               $response['results']=$bodyString;
62
+                $response['results']=$bodyString;
63 63
             }
64 64
             
65 65
             $response['success'] = true;
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * @param boolean $assoc
45 45
      * @return array
46 46
      */
47
-    public function getResponse($contentType='json',$assoc = false)
47
+    public function getResponse($contentType = 'json', $assoc = false)
48 48
     {
49 49
         $response = array(
50 50
             'statusCode' => $this->response->getStatusCode(),
@@ -56,10 +56,10 @@  discard block
 block discarded – undo
56 56
             $streamBody = $this->response->getBody();
57 57
             $bodyString = $streamBody->getContents();
58 58
             
59
-            if($contentType === 'json'){
59
+            if ($contentType === 'json') {
60 60
                $response['results'] = $this->jsonp_decode($bodyString, $assoc); 
61
-            }else{
62
-               $response['results']=$bodyString;
61
+            }else {
62
+               $response['results'] = $bodyString;
63 63
             }
64 64
             
65 65
             $response['success'] = true;
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
             
59 59
             if($contentType === 'json'){
60 60
                $response['results'] = $this->jsonp_decode($bodyString, $assoc); 
61
-            }else{
61
+            } else{
62 62
                $response['results']=$bodyString;
63 63
             }
64 64
             
Please login to merge, or discard this patch.
src/Ressources/AppointementsPreferencesCertain.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,16 +11,16 @@
 block discarded – undo
11 11
  */
12 12
 class AppointementsPreferencesCertain extends CertainRessourceAbstract implements CertainRessourceInterface
13 13
 {
14
-    public function getRessourceName(){
14
+    public function getRessourceName() {
15 15
         return 'AppointementsPreferences';
16 16
     }
17 17
 
18 18
     public function getMandatoryFields()
19 19
     {
20
-        return array('attendeeTypeCode','regCode','rank','blacklist');
20
+        return array('attendeeTypeCode', 'regCode', 'rank', 'blacklist');
21 21
     }
22 22
 
23
-    public function setRessourceCalled($eventCode,$regCode){
23
+    public function setRessourceCalled($eventCode, $regCode) {
24 24
         return $this->createRessourceCalled([
25 25
             'events' => $eventCode,
26 26
             'registration' => $regCode,
Please login to merge, or discard this patch.
src/Ressources/RegistrationCertain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  */
12 12
 class RegistrationCertain extends CertainRessourceAbstract implements CertainRessourceInterface
13 13
 {
14
-    public function getRessourceName(){
14
+    public function getRessourceName() {
15 15
         return 'Registration';
16 16
     }
17 17
     public function getMandatoryFields()
Please login to merge, or discard this patch.
src/Ressources/AppointementsCertain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  */
12 12
 class RegistrationCertain extends CertainRessourceAbstract implements CertainRessourceInterface
13 13
 {
14
-    public function getRessourceName(){
14
+    public function getRessourceName() {
15 15
         return 'Registration';
16 16
     }
17 17
     public function getMandatoryFields()
Please login to merge, or discard this patch.
src/Ressources/ProfileCertain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  */
12 12
 class RegistrationCertain extends CertainRessourceAbstract implements CertainRessourceInterface
13 13
 {
14
-    public function getRessourceName(){
14
+    public function getRessourceName() {
15 15
         return 'Registration';
16 16
     }
17 17
     public function getMandatoryFields()
Please login to merge, or discard this patch.