@@ -56,7 +56,7 @@ |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | foreach( $names as $name ) { |
59 | - $result .= '[' . $name . ']'; |
|
59 | + $result .= '['.$name.']'; |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | return $result; |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | throw new \Aimeos\MW\Common\Exception( sprintf( 'Invalid name "%1$s"', $name ) ); |
103 | 103 | } |
104 | 104 | |
105 | - return $transname . ' ' . self::$operators[$this->operator]; |
|
105 | + return $transname.' '.self::$operators[$this->operator]; |
|
106 | 106 | } |
107 | 107 | |
108 | 108 | |
@@ -128,10 +128,10 @@ discard block |
||
128 | 128 | $value = (float) $value; break; |
129 | 129 | case \Aimeos\MW\DB\Statement\Base::PARAM_STR: |
130 | 130 | if( $operator == '~=' ) { |
131 | - $value = '\'%' . $this->conn->escape( $value ) . '%\''; break; |
|
131 | + $value = '\'%'.$this->conn->escape( $value ).'%\''; break; |
|
132 | 132 | } |
133 | 133 | default: |
134 | - $value = '\'' . $this->conn->escape( $value ) . '\''; |
|
134 | + $value = '\''.$this->conn->escape( $value ).'\''; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | return (string) $value; |
@@ -189,12 +189,10 @@ |
||
189 | 189 | } |
190 | 190 | |
191 | 191 | return \Aimeos\MW\DB\Statement\Base::PARAM_STR; |
192 | - } |
|
193 | - else if( strpos( $item, '.' ) !== false ) |
|
192 | + } else if( strpos( $item, '.' ) !== false ) |
|
194 | 193 | { |
195 | 194 | return \Aimeos\MW\DB\Statement\Base::PARAM_FLOAT; |
196 | - } |
|
197 | - else if( ctype_digit( $item ) !== false ) |
|
195 | + } else if( ctype_digit( $item ) !== false ) |
|
198 | 196 | { |
199 | 197 | return \Aimeos\MW\DB\Statement\Base::PARAM_INT; |
200 | 198 | } |
@@ -32,12 +32,12 @@ |
||
32 | 32 | { |
33 | 33 | if( ctype_alnum( $type ) === false ) |
34 | 34 | { |
35 | - $classname = is_string( $type ) ? '\\Aimeos\\MW\\Container\\' . $type : '<not a string>'; |
|
35 | + $classname = is_string( $type ) ? '\\Aimeos\\MW\\Container\\'.$type : '<not a string>'; |
|
36 | 36 | throw new \Aimeos\MW\Container\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
37 | 37 | } |
38 | 38 | |
39 | 39 | $iface = '\\Aimeos\\MW\\Container\\Iface'; |
40 | - $classname = '\\Aimeos\\MW\\Container\\' . $type; |
|
40 | + $classname = '\\Aimeos\\MW\\Container\\'.$type; |
|
41 | 41 | |
42 | 42 | if( class_exists( $classname ) === false ) { |
43 | 43 | throw new \Aimeos\MW\Container\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -37,8 +37,8 @@ discard block |
||
37 | 37 | { |
38 | 38 | $manifest = $this->getManifest( $filename ); |
39 | 39 | |
40 | - $this->baseURL = rtrim( $baseURL, '/' ) . '/'; |
|
41 | - $this->basePath = dirname( $filename ) . '/'; |
|
40 | + $this->baseURL = rtrim( $baseURL, '/' ).'/'; |
|
41 | + $this->basePath = dirname( $filename ).'/'; |
|
42 | 42 | |
43 | 43 | $this->registeredPackages = $this->getPackages( $manifest, $filter ); |
44 | 44 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | foreach( $packageList as $package ) |
63 | 63 | { |
64 | 64 | foreach( $package->fileIncludes as $singleFile ) { |
65 | - $files[] = $this->basePath . $singleFile->path . $singleFile->text; |
|
65 | + $files[] = $this->basePath.$singleFile->path.$singleFile->text; |
|
66 | 66 | } |
67 | 67 | } |
68 | 68 | } |
@@ -117,10 +117,10 @@ discard block |
||
117 | 117 | switch( $type ) |
118 | 118 | { |
119 | 119 | case 'js': |
120 | - $html .= '<script type="text/javascript" src="' . $file . '"></script>' . PHP_EOL; |
|
120 | + $html .= '<script type="text/javascript" src="'.$file.'"></script>'.PHP_EOL; |
|
121 | 121 | break; |
122 | 122 | case 'css': |
123 | - $html .= '<link rel="stylesheet" type="text/css" href="' . $file . '"/>' . PHP_EOL; |
|
123 | + $html .= '<link rel="stylesheet" type="text/css" href="'.$file.'"/>'.PHP_EOL; |
|
124 | 124 | break; |
125 | 125 | } |
126 | 126 | } |
@@ -144,13 +144,13 @@ discard block |
||
144 | 144 | |
145 | 145 | foreach( $package->fileIncludes as $singleFile ) |
146 | 146 | { |
147 | - $filename = $this->basePath . $singleFile->path . $singleFile->text; |
|
147 | + $filename = $this->basePath.$singleFile->path.$singleFile->text; |
|
148 | 148 | |
149 | 149 | if( !is_file( $filename ) || ( $fileTime = filemtime( $filename ) ) === false ) { |
150 | 150 | throw new \Aimeos\MW\Jsb2\Exception( sprintf( 'Unable to read filetime of file "%1$s"', $filename ) ); |
151 | 151 | } |
152 | 152 | |
153 | - $list[] = $this->baseURL . $singleFile->path . $singleFile->text . sprintf( $version, $fileTime ); |
|
153 | + $list[] = $this->baseURL.$singleFile->path.$singleFile->text.sprintf( $version, $fileTime ); |
|
154 | 154 | } |
155 | 155 | |
156 | 156 | return $list; |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | |
12 | 12 | protected function setUp() |
13 | 13 | { |
14 | - $this->basedir = __DIR__ . '/../../tmp/'; |
|
14 | + $this->basedir = __DIR__.'/../../tmp/'; |
|
15 | 15 | $this->object = new \Aimeos\MW\Filesystem\Standard( array( 'basedir' => $this->basedir ) ); |
16 | 16 | } |
17 | 17 | |
@@ -31,8 +31,8 @@ discard block |
||
31 | 31 | public function testMkdir() |
32 | 32 | { |
33 | 33 | $this->object->mkdir( 'fstest' ); |
34 | - $result = is_dir( $this->basedir . 'fstest' ); |
|
35 | - rmdir( $this->basedir . 'fstest' ); |
|
34 | + $result = is_dir( $this->basedir.'fstest' ); |
|
35 | + rmdir( $this->basedir.'fstest' ); |
|
36 | 36 | |
37 | 37 | $this->assertTrue( $result ); |
38 | 38 | } |
@@ -47,10 +47,10 @@ discard block |
||
47 | 47 | |
48 | 48 | public function testRmdir() |
49 | 49 | { |
50 | - mkdir( $this->basedir . 'fstest2' ); |
|
50 | + mkdir( $this->basedir.'fstest2' ); |
|
51 | 51 | |
52 | 52 | $this->object->rmdir( 'fstest2' ); |
53 | - $result = is_dir( $this->basedir . 'fstest2' ); |
|
53 | + $result = is_dir( $this->basedir.'fstest2' ); |
|
54 | 54 | |
55 | 55 | $this->assertFalse( $result ); |
56 | 56 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | public function testScan() |
67 | 67 | { |
68 | - touch( $this->basedir . 'file1' ); |
|
68 | + touch( $this->basedir.'file1' ); |
|
69 | 69 | |
70 | 70 | $result = $this->object->scan(); |
71 | 71 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | foreach( $result as $entry ) { |
76 | 76 | $list[] = (string) $entry; |
77 | 77 | } |
78 | - unlink( $this->basedir . 'file1' ); |
|
78 | + unlink( $this->basedir.'file1' ); |
|
79 | 79 | |
80 | 80 | $this->assertTrue( in_array( 'file1', $list ) ); |
81 | 81 | } |
@@ -90,11 +90,11 @@ discard block |
||
90 | 90 | |
91 | 91 | public function testSize() |
92 | 92 | { |
93 | - file_put_contents( $this->basedir . 'file2', 'test' ); |
|
93 | + file_put_contents( $this->basedir.'file2', 'test' ); |
|
94 | 94 | |
95 | 95 | $result = $this->object->size( 'file2' ); |
96 | 96 | |
97 | - unlink( $this->basedir . 'file2' ); |
|
97 | + unlink( $this->basedir.'file2' ); |
|
98 | 98 | |
99 | 99 | $this->assertEquals( 4, $result ); |
100 | 100 | } |
@@ -109,11 +109,11 @@ discard block |
||
109 | 109 | |
110 | 110 | public function testTime() |
111 | 111 | { |
112 | - touch( $this->basedir . 'file4' ); |
|
112 | + touch( $this->basedir.'file4' ); |
|
113 | 113 | |
114 | 114 | $result = $this->object->time( 'file4' ); |
115 | 115 | |
116 | - unlink( $this->basedir . 'file4' ); |
|
116 | + unlink( $this->basedir.'file4' ); |
|
117 | 117 | |
118 | 118 | $this->assertGreaterThan( 0, $result ); |
119 | 119 | } |
@@ -128,11 +128,11 @@ discard block |
||
128 | 128 | |
129 | 129 | public function testRm() |
130 | 130 | { |
131 | - touch( $this->basedir . 'file5' ); |
|
131 | + touch( $this->basedir.'file5' ); |
|
132 | 132 | |
133 | 133 | $this->object->rm( 'file5' ); |
134 | 134 | |
135 | - $result = file_exists( $this->basedir . 'file5' ); |
|
135 | + $result = file_exists( $this->basedir.'file5' ); |
|
136 | 136 | |
137 | 137 | $this->assertFalse( $result ); |
138 | 138 | } |
@@ -147,11 +147,11 @@ discard block |
||
147 | 147 | |
148 | 148 | public function testHas() |
149 | 149 | { |
150 | - touch( $this->basedir . 'file6' ); |
|
150 | + touch( $this->basedir.'file6' ); |
|
151 | 151 | |
152 | 152 | $result = $this->object->has( 'file6' ); |
153 | 153 | |
154 | - unlink( $this->basedir . 'file6' ); |
|
154 | + unlink( $this->basedir.'file6' ); |
|
155 | 155 | |
156 | 156 | $this->assertTrue( $result ); |
157 | 157 | $this->assertFalse( $this->object->has( 'fsinvalid' ) ); |
@@ -160,11 +160,11 @@ discard block |
||
160 | 160 | |
161 | 161 | public function testRead() |
162 | 162 | { |
163 | - file_put_contents( $this->basedir . 'file7', 'test' ); |
|
163 | + file_put_contents( $this->basedir.'file7', 'test' ); |
|
164 | 164 | |
165 | 165 | $result = $this->object->read( 'file7' ); |
166 | 166 | |
167 | - unlink( $this->basedir . 'file7' ); |
|
167 | + unlink( $this->basedir.'file7' ); |
|
168 | 168 | |
169 | 169 | $this->assertEquals( 'test', $result ); |
170 | 170 | } |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | |
180 | 180 | public function testReadf() |
181 | 181 | { |
182 | - file_put_contents( $this->basedir . 'file77', 'test' ); |
|
182 | + file_put_contents( $this->basedir.'file77', 'test' ); |
|
183 | 183 | |
184 | 184 | $result = $this->object->readf( 'file77' ); |
185 | 185 | |
@@ -198,13 +198,13 @@ discard block |
||
198 | 198 | |
199 | 199 | public function testReads() |
200 | 200 | { |
201 | - file_put_contents( $this->basedir . 'file8', 'test' ); |
|
201 | + file_put_contents( $this->basedir.'file8', 'test' ); |
|
202 | 202 | |
203 | 203 | $handle = $this->object->reads( 'file8' ); |
204 | 204 | $result = fgets( $handle ); |
205 | 205 | fclose( $handle ); |
206 | 206 | |
207 | - unlink( $this->basedir . 'file8' ); |
|
207 | + unlink( $this->basedir.'file8' ); |
|
208 | 208 | |
209 | 209 | $this->assertEquals( 'test', $result ); |
210 | 210 | } |
@@ -221,8 +221,8 @@ discard block |
||
221 | 221 | { |
222 | 222 | $this->object->write( 'file9', 'test' ); |
223 | 223 | |
224 | - $result = file_get_contents( $this->basedir . 'file9' ); |
|
225 | - unlink( $this->basedir . 'file9' ); |
|
224 | + $result = file_get_contents( $this->basedir.'file9' ); |
|
225 | + unlink( $this->basedir.'file9' ); |
|
226 | 226 | |
227 | 227 | $this->assertEquals( 'test', $result ); |
228 | 228 | } |
@@ -237,13 +237,13 @@ discard block |
||
237 | 237 | |
238 | 238 | public function testWritef() |
239 | 239 | { |
240 | - $file = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'file99'; |
|
240 | + $file = sys_get_temp_dir().DIRECTORY_SEPARATOR.'file99'; |
|
241 | 241 | file_put_contents( $file, 'test' ); |
242 | 242 | |
243 | 243 | $this->object->writef( 'file99', $file ); |
244 | 244 | |
245 | - $result = file_get_contents( $this->basedir . 'file99' ); |
|
246 | - unlink( $this->basedir . 'file99' ); |
|
245 | + $result = file_get_contents( $this->basedir.'file99' ); |
|
246 | + unlink( $this->basedir.'file99' ); |
|
247 | 247 | unlink( $file ); |
248 | 248 | |
249 | 249 | $this->assertEquals( 'test', $result ); |
@@ -259,16 +259,16 @@ discard block |
||
259 | 259 | |
260 | 260 | public function testWrites() |
261 | 261 | { |
262 | - $handle = fopen( $this->basedir . 'file10tmp', 'w+' ); |
|
262 | + $handle = fopen( $this->basedir.'file10tmp', 'w+' ); |
|
263 | 263 | fwrite( $handle, 'test' ); |
264 | 264 | rewind( $handle ); |
265 | 265 | |
266 | 266 | $this->object->writes( 'file10', $handle ); |
267 | 267 | |
268 | 268 | fclose( $handle ); |
269 | - $result = file_get_contents( $this->basedir . 'file10' ); |
|
270 | - unlink( $this->basedir . 'file10tmp' ); |
|
271 | - unlink( $this->basedir . 'file10' ); |
|
269 | + $result = file_get_contents( $this->basedir.'file10' ); |
|
270 | + unlink( $this->basedir.'file10tmp' ); |
|
271 | + unlink( $this->basedir.'file10' ); |
|
272 | 272 | |
273 | 273 | $this->assertEquals( 'test', $result ); |
274 | 274 | } |
@@ -283,14 +283,14 @@ discard block |
||
283 | 283 | |
284 | 284 | public function testMove() |
285 | 285 | { |
286 | - touch( $this->basedir . 'file11' ); |
|
286 | + touch( $this->basedir.'file11' ); |
|
287 | 287 | |
288 | 288 | $this->object->move( 'file11', 'file11move' ); |
289 | 289 | |
290 | - $result = file_exists( $this->basedir . 'file11move' ); |
|
291 | - $result2 = file_exists( $this->basedir . 'file11' ); |
|
290 | + $result = file_exists( $this->basedir.'file11move' ); |
|
291 | + $result2 = file_exists( $this->basedir.'file11' ); |
|
292 | 292 | |
293 | - unlink( $this->basedir . 'file11move' ); |
|
293 | + unlink( $this->basedir.'file11move' ); |
|
294 | 294 | |
295 | 295 | $this->assertTrue( $result ); |
296 | 296 | $this->assertFalse( $result2 ); |
@@ -306,15 +306,15 @@ discard block |
||
306 | 306 | |
307 | 307 | public function testCopy() |
308 | 308 | { |
309 | - touch( $this->basedir . 'file12' ); |
|
309 | + touch( $this->basedir.'file12' ); |
|
310 | 310 | |
311 | 311 | $this->object->copy( 'file12', 'file12copy' ); |
312 | 312 | |
313 | - $result = file_exists( $this->basedir . 'file12copy' ); |
|
314 | - $result2 = file_exists( $this->basedir . 'file12' ); |
|
313 | + $result = file_exists( $this->basedir.'file12copy' ); |
|
314 | + $result2 = file_exists( $this->basedir.'file12' ); |
|
315 | 315 | |
316 | - unlink( $this->basedir . 'file12copy' ); |
|
317 | - unlink( $this->basedir . 'file12' ); |
|
316 | + unlink( $this->basedir.'file12copy' ); |
|
317 | + unlink( $this->basedir.'file12' ); |
|
318 | 318 | |
319 | 319 | $this->assertTrue( $result ); |
320 | 320 | $this->assertTrue( $result2 ); |
@@ -20,43 +20,43 @@ discard block |
||
20 | 20 | protected function setUp() |
21 | 21 | { |
22 | 22 | $ds = DIRECTORY_SEPARATOR; |
23 | - $this->manifestPath = __DIR__ . $ds . 'manifests' . $ds; |
|
24 | - $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath . 'manifest.jsb2' ); |
|
23 | + $this->manifestPath = __DIR__.$ds.'manifests'.$ds; |
|
24 | + $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath.'manifest.jsb2' ); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | |
28 | 28 | public function testConstructNoIncludeFilesExceptions() |
29 | 29 | { |
30 | 30 | $this->setExpectedException( '\\Aimeos\\MW\\Jsb2\\Exception' ); |
31 | - $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath . 'manifest_invalid_fileinclude.jsb2' ); |
|
31 | + $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath.'manifest_invalid_fileinclude.jsb2' ); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | |
35 | 35 | public function testConstructNoPackageExceptions() |
36 | 36 | { |
37 | 37 | $this->setExpectedException( '\\Aimeos\\MW\\Jsb2\\Exception' ); |
38 | - $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath . 'manifest_invalid_package.jsb2' ); |
|
38 | + $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath.'manifest_invalid_package.jsb2' ); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | |
42 | 42 | public function testConstructInvalidPackageContentExceptions() |
43 | 43 | { |
44 | 44 | $this->setExpectedException( '\\Aimeos\\MW\\Jsb2\\Exception' ); |
45 | - $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath . 'manifest_invalid_package_content.jsb2' ); |
|
45 | + $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath.'manifest_invalid_package_content.jsb2' ); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | |
49 | 49 | public function testConstructNotJSONExceptions() |
50 | 50 | { |
51 | 51 | $this->setExpectedException( '\\Aimeos\\MW\\Jsb2\\Exception' ); |
52 | - $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath . 'manifest_no_json.jsb2' ); |
|
52 | + $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath.'manifest_no_json.jsb2' ); |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | |
56 | 56 | public function testConstructFileNotExistingExceptions() |
57 | 57 | { |
58 | 58 | $this->setExpectedException( '\\Aimeos\\MW\\Jsb2\\Exception' ); |
59 | - $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath . 'manifest_not_existing.jsb2' ); |
|
59 | + $this->object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath.'manifest_not_existing.jsb2' ); |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | |
@@ -72,9 +72,9 @@ discard block |
||
72 | 72 | public function testGetHTML() |
73 | 73 | { |
74 | 74 | $html = '<script type="text/javascript" src="/./../%1$s"></script>'; |
75 | - $mtime = filemtime( __DIR__ . DIRECTORY_SEPARATOR . 'test.js' ); |
|
75 | + $mtime = filemtime( __DIR__.DIRECTORY_SEPARATOR.'test.js' ); |
|
76 | 76 | |
77 | - $this->assertEquals( sprintf( $html, 'test.js?v=' . $mtime ), trim( $this->object->getHTML( 'js' ) ) ); |
|
77 | + $this->assertEquals( sprintf( $html, 'test.js?v='.$mtime ), trim( $this->object->getHTML( 'js' ) ) ); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | |
90 | 90 | public function testGetUrlsFilemtimeException() |
91 | 91 | { |
92 | - $object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath . 'manifest_filemtime_exception.jsb2' ); |
|
92 | + $object = new \Aimeos\MW\Jsb2\Standard( $this->manifestPath.'manifest_filemtime_exception.jsb2' ); |
|
93 | 93 | |
94 | 94 | $this->setExpectedException( '\\Aimeos\\MW\\Jsb2\\Exception' ); |
95 | 95 | $object->getHTML( 'js' ); |
@@ -15,8 +15,8 @@ discard block |
||
15 | 15 | $start = microtime( true ); |
16 | 16 | |
17 | 17 | $paths = array( |
18 | - __DIR__ . DIRECTORY_SEPARATOR . 'one', |
|
19 | - __DIR__ . DIRECTORY_SEPARATOR . 'two', |
|
18 | + __DIR__.DIRECTORY_SEPARATOR.'one', |
|
19 | + __DIR__.DIRECTORY_SEPARATOR.'two', |
|
20 | 20 | ); |
21 | 21 | |
22 | 22 | for( $i = 0; $i < 1000; $i++ ) |
@@ -29,6 +29,6 @@ discard block |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | $stop = microtime( true ); |
32 | - echo "\n config array: " . ( ( $stop - $start ) * 1000 ) . " msec\n"; |
|
32 | + echo "\n config array: ".( ( $stop - $start ) * 1000 )." msec\n"; |
|
33 | 33 | } |
34 | 34 | } |
@@ -85,12 +85,12 @@ |
||
85 | 85 | } |
86 | 86 | |
87 | 87 | if( ctype_alnum( $name ) === false ) { |
88 | - $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Media\\' . $name : '<not a string>'; |
|
88 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Media\\'.$name : '<not a string>'; |
|
89 | 89 | throw new \Aimeos\Controller\Common\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
90 | 90 | } |
91 | 91 | |
92 | 92 | $iface = '\\Aimeos\\Controller\\Common\\Media\\Iface'; |
93 | - $classname = '\\Aimeos\\Controller\\Common\\Media\\' . $name; |
|
93 | + $classname = '\\Aimeos\\Controller\\Common\\Media\\'.$name; |
|
94 | 94 | |
95 | 95 | if( isset( self::$objects[$classname] ) ) { |
96 | 96 | return self::$objects[$classname]; |
@@ -86,12 +86,12 @@ |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | if( ctype_alnum( $name ) === false ) { |
89 | - $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Order\\' . $name : '<not a string>'; |
|
89 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Order\\'.$name : '<not a string>'; |
|
90 | 90 | throw new \Aimeos\Controller\Common\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
91 | 91 | } |
92 | 92 | |
93 | 93 | $iface = '\\Aimeos\\Controller\\Common\\Order\\Iface'; |
94 | - $classname = '\\Aimeos\\Controller\\Common\\Order\\' . $name; |
|
94 | + $classname = '\\Aimeos\\Controller\\Common\\Order\\'.$name; |
|
95 | 95 | |
96 | 96 | if( isset( self::$objects[$classname] ) ) { |
97 | 97 | return self::$objects[$classname]; |