Index: trunk/phase3/skins/Standard.php |
— | — | @@ -120,7 +120,7 @@ |
121 | 121 | unset( $bar['TOOLBOX'] ); |
122 | 122 | |
123 | 123 | $barnumber = 1; |
124 | | - foreach ( $bar as $heading => $browseLinks ) { |
| 124 | + foreach ( $bar as $browseLinks ) { |
125 | 125 | if ( $barnumber > 1 ) { |
126 | 126 | $s .= "\n<hr class='sep' />"; |
127 | 127 | } |
Index: trunk/phase3/tests/selenium/suites/AddContentToNewPageTestCase.php |
— | — | @@ -114,8 +114,8 @@ |
115 | 115 | |
116 | 116 | // Add level 2 headline and verify output in the preview |
117 | 117 | public function testAddLevel2HeadLine() { |
118 | | - $blnElementPresent = False; |
119 | | - $blnTextPresent = False; |
| 118 | + $blnElementPresent = false; |
| 119 | + $blnTextPresent = false; |
120 | 120 | $this->getExistingPage(); |
121 | 121 | $this->clickEditLink(); |
122 | 122 | $this->loadWikiEditor(); |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -1733,7 +1733,7 @@ |
1734 | 1734 | * or else the record will be left in a funky state. |
1735 | 1735 | * Best if all done inside a transaction. |
1736 | 1736 | * |
1737 | | - * @param $dbw Database |
| 1737 | + * @param $dbw DatabaseBase |
1738 | 1738 | * @return int The newly created page_id key, or false if the title already existed |
1739 | 1739 | * @private |
1740 | 1740 | */ |
Index: trunk/phase3/includes/ZipDirectoryReader.php |
— | — | @@ -16,8 +16,8 @@ |
17 | 17 | * suspicious or ambiguous input, instead of emulating some standard |
18 | 18 | * behaviour. |
19 | 19 | * |
20 | | - * @param $fileName The archive file name |
21 | | - * @param $callback The callback function. It will be called for each file |
| 20 | + * @param $fileName string The archive file name |
| 21 | + * @param $callback Array The callback function. It will be called for each file |
22 | 22 | * with a single associative array each time, with members: |
23 | 23 | * |
24 | 24 | * - name: The file name. Directories conventionally have a trailing |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | * |
29 | 29 | * - size: The uncompressed file size |
30 | 30 | * |
31 | | - * @param $options An associative array of read options, with the option |
| 31 | + * @param $options Array An associative array of read options, with the option |
32 | 32 | * name in the key. This may currently contain: |
33 | 33 | * |
34 | 34 | * - zip64: If this is set to true, then we will emulate a |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | * valid ZIP64 file, and working out what non-ZIP64 readers will make |
46 | 46 | * of such a file is not trivial. |
47 | 47 | * |
48 | | - * @return A Status object. The following fatal errors are defined: |
| 48 | + * @return Status object. The following fatal errors are defined: |
49 | 49 | * |
50 | 50 | * - zip-file-open-error: The file could not be opened. |
51 | 51 | * |
— | — | @@ -119,6 +119,8 @@ |
120 | 120 | |
121 | 121 | /** |
122 | 122 | * Read the directory according to settings in $this. |
| 123 | + * |
| 124 | + * @return Status |
123 | 125 | */ |
124 | 126 | function execute() { |
125 | 127 | $this->file = fopen( $this->fileName, 'r' ); |