Completed
Pull Request — master (#1)
by
unknown
03:41
created
src/l10nNetteTranslator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 		];
13 13
 
14 14
 		if (isset($class_map[$class_name])) {
15
-			require __DIR__ . '/l10nNetteTranslator/' . $class_map[$class_name];
15
+			require __DIR__.'/l10nNetteTranslator/'.$class_map[$class_name];
16 16
 		}
17 17
 	}
18 18
 );
Please login to merge, or discard this patch.
src/l10nNetteTranslator/Panel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 	 */
30 30
 	public function getTab() {
31 31
 		ob_start();
32
-		require __DIR__ . '/Templates/tab.phtml';
32
+		require __DIR__.'/Templates/tab.phtml';
33 33
 
34 34
 		return ob_get_clean();
35 35
 	}
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 		$lang_code = $this->translator->getActiveLanguageAndPlural()->getLanguage()->getIso639_1();
44 44
 
45 45
 		ob_start();
46
-		require __DIR__ . '/Templates/panel.phtml';
46
+		require __DIR__.'/Templates/panel.phtml';
47 47
 
48 48
 		return ob_get_clean();
49 49
 	}
Please login to merge, or discard this patch.
src/l10nNetteTranslator/TranslatorProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 	}
31 31
 
32 32
 	protected function createHash($value) {
33
-		return hash('crc32b', self::PARAMETER . '-' . $value);
33
+		return hash('crc32b', self::PARAMETER.'-'.$value);
34 34
 	}
35 35
 
36 36
 	protected function getRequestData() {
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 	}
129 129
 
130 130
 	protected function callActionByRequest(array $request_data) {
131
-		$action = $request_data['action'] . 'Action';
131
+		$action = $request_data['action'].'Action';
132 132
 
133 133
 		if (!method_exists($this, $action)) {
134 134
 			throw new InvalidStateException(sprintf('Action "%s" not found', $request_data['action']));
Please login to merge, or discard this patch.