@@ -281,10 +281,10 @@ public function start($id, $clear = false)
281281 * @param array $linesToBeUsed
282282 * @param bool $ignoreForceCoversAnnotation
283283 *
284- * @return array
285- *
286284 * @throws \SebastianBergmann\CodeCoverage\RuntimeException
287285 * @throws InvalidArgumentException
286+ *
287+ * @return array
288288 */
289289 public function stop ($ append = true , $ linesToBeCovered = [], array $ linesToBeUsed = [], $ ignoreForceCoversAnnotation = false )
290290 {
@@ -746,9 +746,9 @@ private function addUncoveredFilesFromWhitelist()
746746 *
747747 * @param string $filename
748748 *
749- * @return array
750- *
751749 * @throws InvalidArgumentException
750+ *
751+ * @return array
752752 */
753753 private function getLinesToBeIgnored ($ filename )
754754 {
@@ -823,7 +823,7 @@ private function getLinesToBeIgnored($filename)
823823 }
824824
825825 if ($ this ->disableIgnoredLines ) {
826- $ this ->ignoredLines [$ filename ] = array_unique ($ this ->ignoredLines [$ filename ]);
826+ $ this ->ignoredLines [$ filename ] = \ array_unique ($ this ->ignoredLines [$ filename ]);
827827 \sort ($ this ->ignoredLines [$ filename ]);
828828
829829 return $ this ->ignoredLines [$ filename ];
@@ -923,7 +923,7 @@ private function getLinesToBeIgnored($filename)
923923 $ this ->ignoredLines [$ filename ]
924924 );
925925
926- $ this ->ignoredLines [$ filename ] = array_unique ($ this ->ignoredLines [$ filename ]);
926+ $ this ->ignoredLines [$ filename ] = \ array_unique ($ this ->ignoredLines [$ filename ]);
927927 \sort ($ this ->ignoredLines [$ filename ]);
928928
929929 return $ this ->ignoredLines [$ filename ];
@@ -1040,9 +1040,9 @@ private function getAllowedLines(array $linesToBeCovered, array $linesToBeUsed)
10401040 }
10411041
10421042 /**
1043- * @return Driver
1044- *
10451043 * @throws RuntimeException
1044+ *
1045+ * @return Driver
10461046 */
10471047 private function selectDriver ()
10481048 {
@@ -1066,9 +1066,9 @@ private function selectDriver()
10661066 /**
10671067 * @param array $unintentionallyCoveredUnits
10681068 *
1069- * @return array
1070- *
10711069 * @throws \ReflectionException
1070+ *
1071+ * @return array
10721072 */
10731073 private function processUnintentionallyCoveredUnits (array $ unintentionallyCoveredUnits )
10741074 {
@@ -1102,7 +1102,7 @@ private function processUnintentionallyCoveredUnits(array $unintentionallyCovere
11021102 *
11031103 * @throws \SebastianBergmann\CodeCoverage\RuntimeException
11041104 */
1105- protected function initializeData ()
1105+ private function initializeData ()
11061106 {
11071107 $ this ->isInitialized = true ;
11081108
0 commit comments