Completed
Push — master ( 8045d7...664709 )
by Adam
02:46
created
src/IPub/FlashMessages/Exceptions/InvalidStateException.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,4 +14,6 @@
 block discarded – undo
14 14
 
15 15
 namespace IPub\FlashMessages\Exceptions;
16 16
 
17
-class InvalidStateException extends \RuntimeException implements IException {}
18 17
\ No newline at end of file
18
+class InvalidStateException extends \RuntimeException implements IException
19
+{
20
+}
19 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/IPub/FlashMessages/Exceptions/IException.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,4 +14,6 @@
 block discarded – undo
14 14
 
15 15
 namespace IPub\FlashMessages\Exceptions;
16 16
 
17
-interface IException {}
18 17
\ No newline at end of file
18
+interface IException
19
+{
20
+}
19 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/IPub/FlashMessages/Exceptions/IOException.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,4 +14,6 @@
 block discarded – undo
14 14
 
15 15
 namespace IPub\FlashMessages\Exceptions;
16 16
 
17
-class IOException extends \RuntimeException implements IException {}
18 17
\ No newline at end of file
18
+class IOException extends \RuntimeException implements IException
19
+{
20
+}
19 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/IPub/FlashMessages/Exceptions/FileNotFoundException.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,4 +14,6 @@
 block discarded – undo
14 14
 
15 15
 namespace IPub\FlashMessages\Exceptions;
16 16
 
17
-class FileNotFoundException extends IOException implements IException {}
18 17
\ No newline at end of file
18
+class FileNotFoundException extends IOException implements IException
19
+{
20
+}
19 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/IPub/FlashMessages/Components/Control.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,8 +89,7 @@
 block discarded – undo
89 89
 		$templateFile = NULL,
90 90
 		FlashMessages\SessionStorage $sessionStorage,
91 91
 		Nette\ComponentModel\IContainer $parent = NULL, $name = NULL
92
-	)
93
-	{
92
+	) {
94 93
 		// TODO: remove, only for tests
95 94
 		parent::__construct(NULL, NULL);
96 95
 
Please login to merge, or discard this patch.
src/IPub/FlashMessages/FlashNotifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -229,8 +229,8 @@
 block discarded – undo
229 229
 	 */
230 230
 	private function checkForAttribute(array $attributes, $type)
231 231
 	{
232
-		foreach($attributes as $attribute) {
233
-			switch($type)
232
+		foreach ($attributes as $attribute) {
233
+			switch ($type)
234 234
 			{
235 235
 				case 'title':
236 236
 					if (is_string($attribute) === TRUE || $attribute instanceof Translation\Phrase || $attribute instanceof Adapters\IPhraseAdapter) {
Please login to merge, or discard this patch.