Skip to content

Commit 2ddd844

Browse files
@ignore is not a valid annotation
1 parent e41c7e4 commit 2ddd844

9 files changed

+6
-42
lines changed

src/Parse/ParseACL.php

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,33 @@
1616
*/
1717
class ParseACL implements Encodable
1818
{
19-
/*
20-
* @ignore
21-
*/
2219
const PUBLIC_KEY = '*';
20+
2321
/**
2422
* @var array -
2523
*/
2624
private $permissionsById = [];
25+
2726
/**
2827
* @var bool -
2928
*/
3029
private $shared = false;
30+
3131
/**
3232
* @var ParseUser -
3333
*/
3434
private static $lastCurrentUser = null;
35+
3536
/**
3637
* @var ParseACL -
3738
*/
3839
private static $defaultACLWithCurrentUser = null;
40+
3941
/**
4042
* @var ParseACL -
4143
*/
4244
private static $defaultACL = null;
45+
4346
/**
4447
* @var bool -
4548
*/
@@ -69,7 +72,6 @@ public static function createACLWithUser($user)
6972
* @throws \Exception
7073
*
7174
* @return ParseACL
72-
* @ignore
7375
*/
7476
public static function _createACLFromJSON($data)
7577
{
@@ -100,7 +102,6 @@ public static function _createACLFromJSON($data)
100102
* Return if ParseACL shared or not.
101103
*
102104
* @return bool
103-
* @ignore
104105
*/
105106
public function _isShared()
106107
{
@@ -111,16 +112,12 @@ public function _isShared()
111112
* Set shared for ParseACL.
112113
*
113114
* @param bool $shared
114-
* @ignore
115115
*/
116116
public function _setShared($shared)
117117
{
118118
$this->shared = $shared;
119119
}
120120

121-
/**
122-
* @ignore
123-
*/
124121
public function _encode()
125122
{
126123
if (empty($this->permissionsById)) {
@@ -541,7 +538,6 @@ public static function setDefaultACL($acl, $withAccessForCurrentUser)
541538
* Get the defaultACL.
542539
*
543540
* @return ParseACL
544-
* @ignore
545541
*/
546542
public static function _getDefaultACL()
547543
{

src/Parse/ParseAnalytics.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ public static function track($name, $dimensions = [])
6060
);
6161
}
6262

63-
/**
64-
* @ignore
65-
*/
6663
public static function _toSaveJSON($data)
6764
{
6865
return json_encode(

src/Parse/ParseBytes.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ private function setByteArray(array $byteArray)
5959
* Encode to associative array representation.
6060
*
6161
* @return array
62-
* @ignore
6362
*/
6463
public function _encode()
6564
{

src/Parse/ParseClient.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ final class ParseClient
1313
{
1414
/**
1515
* Constant for the API Server Host Address.
16-
*
17-
* @ignore
1816
*/
1917
const HOST_NAME = 'https://api.parse.com';
2018

@@ -50,8 +48,6 @@ final class ParseClient
5048

5149
/**
5250
* Constant for version string to include with requests.
53-
*
54-
* @ignore
5551
*/
5652
const VERSION_STRING = 'php1.1.0';
5753

@@ -93,8 +89,6 @@ public static function initialize($app_id, $rest_key, $master_key, $enableCurlEx
9389
* @throws \Exception
9490
*
9591
* @return mixed Encoded results.
96-
*
97-
* @ignore
9892
*/
9993
public static function _encode($value, $allowParseObjects)
10094
{
@@ -137,7 +131,6 @@ public static function _encode($value, $allowParseObjects)
137131
* @param mixed $data The value to decode
138132
*
139133
* @return mixed
140-
* @ignore
141134
*/
142135
public static function _decode($data)
143136
{
@@ -206,7 +199,6 @@ public static function _decode($data)
206199
* @param bool $allowParseObjects Allow nested objects.
207200
*
208201
* @return array Encoded results.
209-
* @ignore
210202
*/
211203
public static function _encodeArray($value, $allowParseObjects)
212204
{
@@ -230,7 +222,6 @@ public static function _encodeArray($value, $allowParseObjects)
230222
* @throws \Exception
231223
*
232224
* @return mixed Result from Parse API Call.
233-
* @ignore
234225
*/
235226
public static function _request($method, $relativeUrl, $sessionToken = null,
236227
$data = null, $useMasterKey = false
@@ -319,7 +310,6 @@ public static function getStorage()
319310
* use the first assigned storage object.
320311
*
321312
* @return null
322-
* @ignore
323313
*/
324314
public static function _unsetStorage()
325315
{
@@ -340,7 +330,6 @@ private static function assertParseInitialized()
340330
* @param $useMasterKey
341331
*
342332
* @return array
343-
* @ignore
344333
*/
345334
public static function _getRequestHeaders($sessionToken, $useMasterKey)
346335
{

src/Parse/ParseFile.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ public static function createFromFile($path, $name, $mimeType = null)
148148
* @param $url
149149
*
150150
* @return ParseFile
151-
* @ignore
152151
*/
153152
public static function _createFromServer($name, $url)
154153
{
@@ -163,7 +162,6 @@ public static function _createFromServer($name, $url)
163162
* Encode to associative array representation.
164163
*
165164
* @return string
166-
* @ignore
167165
*/
168166
public function _encode()
169167
{

src/Parse/ParseGeoPoint.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ public function setLongitude($lon)
8686
* Encode to associative array representation.
8787
*
8888
* @return array
89-
* @ignore
9089
*/
9190
public function _encode()
9291
{

src/Parse/ParseObject.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ private static function getSubclass()
125125
* @throws Exception
126126
*
127127
* @return null
128-
* @ignore
129128
*/
130129
public function __set($key, $value)
131130
{
@@ -146,7 +145,6 @@ public function __set($key, $value)
146145
* @param string $key Key to retrieve from the Object.
147146
*
148147
* @return mixed
149-
* @ignore
150148
*/
151149
public function __get($key)
152150
{
@@ -218,7 +216,6 @@ public function isDirty()
218216
* @param $considerChildren
219217
*
220218
* @return bool
221-
* @ignore
222219
*/
223220
protected function _isDirty($considerChildren)
224221
{
@@ -364,7 +361,6 @@ public function clear()
364361
* @param FieldOperation $operation Operation to perform.
365362
*
366363
* @return null
367-
* @ignore
368364
*/
369365
public function _performOperation($key, FieldOperation $operation)
370366
{
@@ -494,7 +490,6 @@ public function fetch($useMasterKey = false)
494490
* @param bool $completeData Fetch all data or not.
495491
*
496492
* @return null
497-
* @ignore
498493
*/
499494
public function _mergeAfterFetch($result, $completeData = true)
500495
{
@@ -519,7 +514,6 @@ public function _mergeAfterFetch($result, $completeData = true)
519514
* data will be fetched.
520515
*
521516
* @return null
522-
* @ignore
523517
*/
524518
public function _mergeAfterFetchWithSelectedKeys($result, $selectedKeys)
525519
{
@@ -786,7 +780,6 @@ public function delete($key)
786780
* Return a JSON encoded value of the object.
787781
*
788782
* @return string
789-
* @ignore
790783
*/
791784
public function _encode()
792785
{
@@ -1128,7 +1121,6 @@ public function getRelation($key)
11281121
*
11291122
* @return array
11301123
*
1131-
* @ignore
11321124
*/
11331125
public function _toPointer()
11341126
{
@@ -1199,7 +1191,6 @@ public static function registerSubclass()
11991191
* Un-register a subclass.
12001192
* Cannot be called on the base class ParseObject.
12011193
*
1202-
* @ignore
12031194
*/
12041195
public static function _unregisterSubclass()
12051196
{

src/Parse/ParseQuery.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ public function startsWith($key, $value)
213213
* Returns an associative array of the query constraints.
214214
*
215215
* @return array
216-
* @ignore
217216
*/
218217
public function _getOptions()
219218
{
@@ -714,7 +713,6 @@ public static function orQueries($queryObjects)
714713
* @param array $queries The list of queries to OR.
715714
*
716715
* @return ParseQuery Returns the query, so you can chain this call.
717-
* @ignore
718716
*/
719717
private function _or($queries)
720718
{

src/Parse/ParseUser.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,6 @@ public static function requestPasswordReset($email)
309309
ParseClient::_request('POST', '/1/requestPasswordReset', null, $json);
310310
}
311311

312-
/**
313-
* @ignore
314-
*/
315312
public static function _clearCurrentUserVariable()
316313
{
317314
static::$currentUser = null;

0 commit comments

Comments
 (0)