Completed
Pull Request — master (#5271)
by Roman
14:13 queued 01:26
created
dev/SapphireTest.php 1 patch
Doc Comments   +9 added lines, -8 removed lines patch added patch discarded remove patch
@@ -139,6 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
 	/**
141 141
 	 * Set the manifest to be used to look up test classes by helper functions
142
+	 * @param SS_ClassManifest $manifest
142 143
 	 */
143 144
 	public static function set_test_class_manifest($manifest) {
144 145
 		self::$test_class_manifest = $manifest;
@@ -422,7 +423,7 @@  discard block
 block discarded – undo
422 423
 	 * Will collate all IDs form all fixtures if multiple fixtures are provided.
423 424
 	 *
424 425
 	 * @param string $className
425
-	 * @return array A map of fixture-identifier => object-id
426
+	 * @return A A map of fixture-identifier => object-id
426 427
 	 */
427 428
 	protected function allFixtureIDs($className) {
428 429
 		return $this->getFixtureFactory()->getIds($className);
@@ -582,10 +583,10 @@  discard block
 block discarded – undo
582 583
 	/**
583 584
 	 * Assert that the matching email was sent since the last call to clearEmails()
584 585
 	 * All of the parameters can either be a string, or, if they start with "/", a PREG-compatible regular expression.
585
-	 * @param $to
586
+	 * @param string $to
586 587
 	 * @param $from
587
-	 * @param $subject
588
-	 * @param $content
588
+	 * @param string $subject
589
+	 * @param string $content
589 590
 	 * @return array Contains the keys: 'type', 'to', 'from', 'subject', 'content', 'plainContent', 'attachedFiles',
590 591
 	 *               'customHeaders', 'htmlContent', inlineImages'
591 592
 	 */
@@ -753,7 +754,7 @@  discard block
 block discarded – undo
753 754
 	 * @param string $expectedSQL
754 755
 	 * @param string $actualSQL
755 756
 	 * @param string $message
756
-	 * @param float $delta
757
+	 * @param integer $delta
757 758
 	 * @param integer $maxDepth
758 759
 	 * @param boolean $canonicalize
759 760
 	 * @param boolean $ignoreCase
@@ -1039,9 +1040,9 @@  discard block
 block discarded – undo
1039 1040
 	/**
1040 1041
 	 * Test against a theme.
1041 1042
 	 *
1042
-	 * @param $themeBaseDir string - themes directory
1043
-	 * @param $theme string - theme name
1044
-	 * @param $callback Closure
1043
+	 * @param string $themeBaseDir string - themes directory
1044
+	 * @param string $theme string - theme name
1045
+	 * @param Closure $callback Closure
1045 1046
 	 */
1046 1047
 	protected function useTestTheme($themeBaseDir, $theme, $callback) {
1047 1048
 		Config::nest();
Please login to merge, or discard this patch.