@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | $usernameAttr = $amc_cf->getUsernameAttr(); |
| 40 | 40 | if ($usernameAttr === null || !array_key_exists($usernameAttr, $attributes)) { |
| 41 | 41 | throw new \SimpleSAML\Error\Exception( |
| 42 | - "The user doesn't have an attribute named '" . $usernameAttr . |
|
| 42 | + "The user doesn't have an attribute named '".$usernameAttr. |
|
| 43 | 43 | "'. This attribute is expected to contain the username." |
| 44 | 44 | ); |
| 45 | 45 | } |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | if ($groupsAttr !== null) { |
| 51 | 51 | if (!array_key_exists($groupsAttr, $attributes)) { |
| 52 | 52 | throw new \SimpleSAML\Error\Exception( |
| 53 | - "The user doesn't have an attribute named '" . $groupsAttr . |
|
| 53 | + "The user doesn't have an attribute named '".$groupsAttr. |
|
| 54 | 54 | "'. This attribute is expected to contain the groups the user is a member of." |
| 55 | 55 | ); |
| 56 | 56 | } |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | if (is_array($v)) { |
| 72 | 72 | $v = implode(':', $v); |
| 73 | 73 | } |
| 74 | - $data .= $n . '=' . $v . "\r\n"; |
|
| 74 | + $data .= $n.'='.$v."\r\n"; |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $memcache = $amc_cf->getMemcache(); |