@@ -65,6 +65,9 @@ |
||
65 | 65 | $commandBus->handle($command); |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @param string $msg |
|
70 | + */ |
|
68 | 71 | protected function logVerbose($msg) |
69 | 72 | { |
70 | 73 | if ($this->output->getVerbosity() < OutputInterface::VERBOSITY_VERBOSE) return; |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @param $path |
|
47 | + * @param string $path |
|
48 | 48 | * |
49 | 49 | * @return \SplFileInfo |
50 | 50 | */ |
@@ -71,6 +71,9 @@ discard block |
||
71 | 71 | return $c; |
72 | 72 | } |
73 | 73 | |
74 | + /** |
|
75 | + * @param string $markdown |
|
76 | + */ |
|
74 | 77 | protected function readProperties($markdown) |
75 | 78 | { |
76 | 79 | $properties = array(); |
@@ -81,6 +84,11 @@ discard block |
||
81 | 84 | return $properties; |
82 | 85 | } |
83 | 86 | |
87 | + /** |
|
88 | + * @param string $markdown |
|
89 | + * |
|
90 | + * @return string |
|
91 | + */ |
|
84 | 92 | protected function removeProperties($markdown) |
85 | 93 | { |
86 | 94 | return preg_replace(static::PROPERTIES_MATCH, '', $markdown); |
@@ -251,7 +251,7 @@ |
||
251 | 251 | } |
252 | 252 | |
253 | 253 | /** |
254 | - * @return \DateTime|null |
|
254 | + * @return boolean |
|
255 | 255 | */ |
256 | 256 | public function getCheckinTime() |
257 | 257 | { |
@@ -34,7 +34,6 @@ |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param CommandBus $commandBus |
37 | - * @param RouterInterface $router |
|
38 | 37 | * @param PaymentRepository $paymentRepo |
39 | 38 | * @param RegistrationRepository $registrationRepo |
40 | 39 | */ |
@@ -79,6 +79,12 @@ discard block |
||
79 | 79 | return $page; |
80 | 80 | } |
81 | 81 | |
82 | + /** |
|
83 | + * @param string $html |
|
84 | + * @param string $page |
|
85 | + * |
|
86 | + * @return string |
|
87 | + */ |
|
82 | 88 | protected function fixLinks($html, $page) |
83 | 89 | { |
84 | 90 | if (!preg_match_all('/src="([^"]+)"/', $html, $matches, PREG_SET_ORDER)) return $html; |
@@ -91,7 +97,7 @@ discard block |
||
91 | 97 | } |
92 | 98 | |
93 | 99 | /** |
94 | - * @param $path |
|
100 | + * @param string $path |
|
95 | 101 | * |
96 | 102 | * @return string |
97 | 103 | * @see http://www.php.net/manual/en/function.realpath.php#81935 |
@@ -66,6 +66,9 @@ |
||
66 | 66 | |
67 | 67 | protected $ticketCounter = 1; |
68 | 68 | |
69 | + /** |
|
70 | + * @param false $checkedIn |
|
71 | + */ |
|
69 | 72 | protected function createTicket($day, $checkedIn = null, $email = null) |
70 | 73 | { |
71 | 74 | if ($email === null) $email = sprintf('stats.doe.198%[email protected]', $this->ticketCounter); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * Asserts that $needle is in $haystack. |
58 | 58 | * |
59 | - * @param $needle |
|
59 | + * @param string $needle |
|
60 | 60 | * @param $haystack |
61 | 61 | */ |
62 | 62 | protected function assertInArray($needle, $haystack) |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * Asserts that $needle is not in $haystack. |
69 | 69 | * |
70 | - * @param $needle |
|
70 | + * @param string $needle |
|
71 | 71 | * @param $haystack |
72 | 72 | */ |
73 | 73 | protected function assertNotInArray($needle, $haystack) |