Completed
Push — master ( 8045d7...664709 )
by Adam
02:46
created
src/IPub/FlashMessages/FlashNotifier.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,8 @@
 block discarded – undo
16 16
 
17 17
 use Nette;
18 18
 use Nette\Localization;
19
-
20 19
 use Kdyby;
21 20
 use Kdyby\Translation;
22
-
23 21
 use IPub;
24 22
 use IPub\FlashMessages\Adapters;
25 23
 use IPub\FlashMessages\Entities;
Please login to merge, or discard this 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.