Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -69,8 +69,8 @@ |
70 | 70 | * i.e. "r123" instead of 123. |
71 | 71 | * May be called statically if you pass the $id in. |
72 | 72 | */ |
73 | | - public function getIdString( $id = NULL ) { |
74 | | - if ( $id === NULL ) { |
| 73 | + public function getIdString( $id = null ) { |
| 74 | + if ( $id === null ) { |
75 | 75 | $id = $this->getId(); |
76 | 76 | } |
77 | 77 | return $this->mRepo->getRevIdString( $id ); |
— | — | @@ -84,8 +84,8 @@ |
85 | 85 | * confusing (e.g. in e-mails, page titles etc.). If only one repository is |
86 | 86 | * defined then this returns the same as getIdString() as there is no ambiguity. |
87 | 87 | */ |
88 | | - public function getIdStringUnique( $id = NULL ) { |
89 | | - if ( $id === NULL ) { |
| 88 | + public function getIdStringUnique( $id = null ) { |
| 89 | + if ( $id === null ) { |
90 | 90 | $id = $this->getId(); |
91 | 91 | } |
92 | 92 | return $this->mRepo->getRevIdStringUnique( $id ); |