@@ -56,7 +56,7 @@ |
||
56 | 56 | |
57 | 57 | protected function attachDefaultListeners() |
58 | 58 | { |
59 | - $this->getEventManager()->attach(static::EVENT_REMOVE_ITEMS, function (EventInterface $event) { |
|
59 | + $this->getEventManager()->attach(static::EVENT_REMOVE_ITEMS, function(EventInterface $event) { |
|
60 | 60 | $user = $event->getParam('user'); |
61 | 61 | foreach ($this->getLists() as $list) { |
62 | 62 | foreach ($list->getEntities($user) as $entity) { |
@@ -135,7 +135,7 @@ |
||
135 | 135 | return array( |
136 | 136 | 'year' => strval($xml->year), |
137 | 137 | 'month'=> isset($xml->month) ? strval($xml->month) : '01', |
138 | - 'day' => isset($xml->day) ? strval($xml->day) : '01', |
|
138 | + 'day' => isset($xml->day) ? strval($xml->day) : '01', |
|
139 | 139 | ); |
140 | 140 | } |
141 | 141 | } |
@@ -98,9 +98,9 @@ |
||
98 | 98 | ); |
99 | 99 | |
100 | 100 | $this->setCount(0) |
101 | - ->setAllowRemove(true) |
|
102 | - ->setAllowAdd(true) |
|
103 | - ->setShouldCreateTemplate(true); |
|
101 | + ->setAllowRemove(true) |
|
102 | + ->setAllowAdd(true) |
|
103 | + ->setShouldCreateTemplate(true); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -87,7 +87,7 @@ |
||
87 | 87 | 'attributes' => [ |
88 | 88 | 'data-placeholder' => /*@translate*/ 'please select', |
89 | 89 | 'data-allowclear' => 'false', |
90 | - 'data-searchbox' => -1, // hide the search box |
|
90 | + 'data-searchbox' => -1, // hide the search box |
|
91 | 91 | 'required' => true, // mark label as required |
92 | 92 | ], |
93 | 93 | ] |
@@ -48,7 +48,7 @@ |
||
48 | 48 | break; |
49 | 49 | } |
50 | 50 | |
51 | - $config = $container->get('Config'); |
|
51 | + $config = $container->get('Config'); |
|
52 | 52 | |
53 | 53 | if (isset($config['view_manager'])) { |
54 | 54 | if (isset($config['view_manager']['display_exceptions'])) { |
@@ -97,8 +97,8 @@ |
||
97 | 97 | $value = null; |
98 | 98 | $service = $this->getService(); |
99 | 99 | $user = $service->getUser(); |
100 | - if (method_exists($user,"get".$property)) { |
|
101 | - $value = $user->{"get" . $property}(); |
|
100 | + if (method_exists($user, "get".$property)) { |
|
101 | + $value = $user->{"get".$property}(); |
|
102 | 102 | } |
103 | 103 | return $value; |
104 | 104 | } catch (\OutOfBoundsException $e) { |
@@ -92,7 +92,7 @@ |
||
92 | 92 | } |
93 | 93 | return $value; |
94 | 94 | } |
95 | - return 'id' == $property ? $auth->getIdentity() : $auth->getUser()->{'get' . $property}(); |
|
95 | + return 'id' == $property ? $auth->getIdentity() : $auth->getUser()->{'get'.$property}(); |
|
96 | 96 | } |
97 | 97 | return null; |
98 | 98 | } |
@@ -104,7 +104,7 @@ |
||
104 | 104 | */ |
105 | 105 | public static function factory(ServiceManager $sm) |
106 | 106 | { |
107 | - //$manager = $sm->get('ControllerManager'); |
|
107 | + //$manager = $sm->get('ControllerManager'); |
|
108 | 108 | return new static($sm->get('AuthenticationService')); |
109 | 109 | } |
110 | 110 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public function fetch($api) |
36 | 36 | { |
37 | - $result = $this->queryApi($api); |
|
37 | + $result = $this->queryApi($api); |
|
38 | 38 | if (!$result) { |
39 | 39 | return false; |
40 | 40 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | $class = get_class($this); |
61 | 61 | $class = explode('\\', $class); |
62 | 62 | $class = array_pop($class); |
63 | - $class = '\\Auth\\Entity\\SocialProfiles\\' . $class; |
|
63 | + $class = '\\Auth\\Entity\\SocialProfiles\\'.$class; |
|
64 | 64 | |
65 | 65 | return $class; |
66 | 66 | } |
@@ -40,9 +40,9 @@ |
||
40 | 40 | * @var array |
41 | 41 | */ |
42 | 42 | protected $reCaptcha = [ |
43 | - 'site_key' => 'Your Recapture Public Key', // "site_key" |
|
44 | - 'secret_key' => 'Your Recapture Private Key', // "secret_key" |
|
45 | - 'ssl' => true, // include google api via http(s) |
|
43 | + 'site_key' => 'Your Recapture Public Key', // "site_key" |
|
44 | + 'secret_key' => 'Your Recapture Private Key', // "secret_key" |
|
45 | + 'ssl' => true, // include google api via http(s) |
|
46 | 46 | ]; |
47 | 47 | |
48 | 48 | /** |