Completed
Push — master ( 465b7b...36f767 )
by Milan
03:34
created
src/FioRead.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@
 block discarded – undo
89 89
 		return $this->requestUrl;
90 90
 	}
91 91
 
92
+	/**
93
+	 * @param string $apiUrl
94
+	 */
92 95
 	private function download($apiUrl /* ... params */)
93 96
 	{
94 97
 		$args = func_get_args();
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace h4kuna\Fio;
4 4
 
5
-use h4kuna\Fio\Response\Read\TransactionList,
6
-	h4kuna\Fio\Utils;
5
+use h4kuna\Fio\Response\Read\TransactionList;
6
+use h4kuna\Fio\Utils;
7 7
 
8 8
 /**
9 9
  * Read from informtion Fio account
Please login to merge, or discard this patch.
src/Request/Pay/Payment/Euro.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace h4kuna\Fio\Request\Pay\Payment;
4 4
 
5
-use h4kuna\Fio,
6
-	h4kuna\Fio\Account,
7
-	h4kuna\Fio\Utils;
5
+use h4kuna\Fio;
6
+use h4kuna\Fio\Account;
7
+use h4kuna\Fio\Utils;
8 8
 
9 9
 /**
10 10
  * @author Milan Matějček
Please login to merge, or discard this patch.
src/Request/Pay/Payment/Property.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 	}
117 117
 
118 118
 	/**
119
-	 * @param string|DateTime $str
119
+	 * @param string $str
120 120
 	 * @return self
121 121
 	 */
122 122
 	public function setDate($str)
@@ -173,6 +173,9 @@  discard block
 block discarded – undo
173 173
 	 */
174 174
 	abstract protected function getExpectedProperty();
175 175
 
176
+	/**
177
+	 * @return string
178
+	 */
176 179
 	abstract public function getStartXmlElement();
177 180
 
178 181
 	private function getProperties()
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace h4kuna\Fio\Request\Pay\Payment;
4 4
 
5
-use h4kuna\Fio,
6
-	h4kuna\Fio\Account,
7
-	h4kuna\Fio\Utils,
8
-	Iterator,
9
-	Nette\Utils\DateTime;
5
+use h4kuna\Fio;
6
+use h4kuna\Fio\Account;
7
+use h4kuna\Fio\Utils;
8
+use Iterator;
9
+use Nette\Utils\DateTime;
10 10
 
11 11
 /**
12 12
  * @author Milan Matějček
Please login to merge, or discard this patch.
src/Request/Pay/XMLFile.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 	/** @var string */
21 21
 	private $temp;
22 22
 
23
+	/**
24
+	 * @param string $temp
25
+	 */
23 26
 	public function __construct($temp)
24 27
 	{
25 28
 		$this->temp = $temp;
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace h4kuna\Fio\Request\Pay;
4 4
 
5
-use h4kuna\Fio\Request\Pay\Payment,
6
-	XMLWriter;
5
+use h4kuna\Fio\Request\Pay\Payment;
6
+use XMLWriter;
7 7
 
8 8
 /**
9 9
  * @author Milan Matějček
Please login to merge, or discard this patch.
src/Response/Read/JsonTransactionFactory.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace h4kuna\Fio\Response\Read;
4 4
 
5
-use h4kuna\Fio,
6
-	h4kuna\Fio\Utils;
5
+use h4kuna\Fio;
6
+use h4kuna\Fio\Utils;
7 7
 
8 8
 /**
9 9
  * @author Milan Matějček
Please login to merge, or discard this patch.
src/Utils/Strings.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace h4kuna\Fio\Utils;
4 4
 
5
-use h4kuna\Fio\Account,
6
-	Nette\Utils\DateTime;
5
+use h4kuna\Fio\Account;
6
+use Nette\Utils\DateTime;
7 7
 
8 8
 /**
9 9
  * @author Milan Matějček
Please login to merge, or discard this patch.
src/Response/Read/TransactionAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 				}
94 94
 				return intval($value);
95 95
 			case 'string|null':
96
-				return trim($value) ? : NULL;
96
+				return trim($value) ?: NULL;
97 97
 		}
98 98
 		return $value;
99 99
 	}
Please login to merge, or discard this patch.
src/Request/Pay/Payment/National.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace h4kuna\Fio\Response\Read;
4 4
 
5
-use h4kuna\Fio,
6
-	h4kuna\Fio\Utils;
5
+use h4kuna\Fio;
6
+use h4kuna\Fio\Utils;
7 7
 
8 8
 /**
9 9
  * @author Milan Matějček
Please login to merge, or discard this patch.