Completed
Pull Request — master (#5243)
by Damian
11:39
created
admin/code/LeftAndMain.php 1 patch
Doc Comments   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 	/**
183 183
 	 * Gets the combined configuration of all LeafAndMain subclasses required by the client app.
184 184
 	 *
185
-	 * @return array
185
+	 * @return string
186 186
 	 *
187 187
 	 * WARNING: Experimental API
188 188
 	 */
@@ -675,6 +675,7 @@  discard block
 block discarded – undo
675 675
 	 * Returns the menu title for the given LeftAndMain subclass.
676 676
 	 * Implemented static so that we can get this value without instantiating an object.
677 677
 	 * Menu title is *not* internationalised.
678
+	 * @return string
678 679
 	 */
679 680
 	public static function menu_title_for_class($class) {
680 681
 		$title = Config::inst()->get($class, 'menu_title', Config::FIRST_SET);
@@ -840,6 +841,7 @@  discard block
 block discarded – undo
840 841
 	 * Return a list of appropriate templates for this class, with the given suffix using
841 842
 	 * {@link SSViewer::get_templates_by_class()}
842 843
 	 *
844
+	 * @param string $suffix
843 845
 	 * @return array
844 846
 	 */
845 847
 	public function getTemplatesWithSuffix($suffix) {
@@ -1684,7 +1686,7 @@  discard block
 block discarded – undo
1684 1686
 	 * The controller might not have any previewable content, in which case
1685 1687
 	 * this method returns FALSE.
1686 1688
 	 *
1687
-	 * @return String|boolean
1689
+	 * @return boolean
1688 1690
 	 */
1689 1691
 	public function LinkPreview() {
1690 1692
 		return false;
@@ -1868,7 +1870,7 @@  discard block
 block discarded – undo
1868 1870
 	}
1869 1871
 
1870 1872
 	/**
1871
-	 * @return String
1873
+	 * @return DBField
1872 1874
 	 */
1873 1875
 	public function Locale() {
1874 1876
 		return DBField::create_field('Locale', i18n::get_locale());
@@ -2034,6 +2036,9 @@  discard block
 block discarded – undo
2034 2036
 		return (parent::isFinished() || $this->isFinished);
2035 2037
 	}
2036 2038
 
2039
+	/**
2040
+	 * @param boolean $bool
2041
+	 */
2037 2042
 	public function setIsFinished($bool) {
2038 2043
 		$this->isFinished = $bool;
2039 2044
 	}
Please login to merge, or discard this patch.