Skip to content

Commit 994eedc

Browse files
committed
Fixed typo in comments
1 parent 003c284 commit 994eedc

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

repository.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static int php_git2_repository_initialize(zval *object, git_repository *reposito
103103
}
104104

105105
/*
106-
{{{ proto: Git2\Repsotiroy::__construct(string $path)
106+
{{{ proto: Git2\Repository::__construct(string $path)
107107
*/
108108
PHP_METHOD(git2_repository, __construct)
109109
{
@@ -129,7 +129,7 @@ PHP_METHOD(git2_repository, __construct)
129129
/* }}} */
130130

131131
/*
132-
{{{ proto: Git2\Repsotiroy::isEmpty()
132+
{{{ proto: Git2\Repository::isEmpty()
133133
*/
134134
PHP_METHOD(git2_repository, isEmpty)
135135
{
@@ -149,7 +149,7 @@ PHP_METHOD(git2_repository, isEmpty)
149149
/* }}} */
150150

151151
/*
152-
{{{ proto: Git2\Repsotiroy::isBare()
152+
{{{ proto: Git2\Repository::isBare()
153153
*/
154154
PHP_METHOD(git2_repository, isBare)
155155
{
@@ -169,7 +169,7 @@ PHP_METHOD(git2_repository, isBare)
169169
/* }}} */
170170

171171
/*
172-
{{{ proto: Git2\Repsotiroy::getPath()
172+
{{{ proto: Git2\Repository::getPath()
173173
*/
174174
PHP_METHOD(git2_repository, getPath)
175175
{
@@ -192,7 +192,7 @@ PHP_METHOD(git2_repository, getPath)
192192
/* }}} */
193193

194194
/*
195-
{{{ proto: Git2\Repsotiroy::getWorkdir()
195+
{{{ proto: Git2\Repository::getWorkdir()
196196
*/
197197
PHP_METHOD(git2_repository, getWorkdir)
198198
{
@@ -216,7 +216,7 @@ PHP_METHOD(git2_repository, getWorkdir)
216216

217217

218218
/*
219-
{{{ proto: Git2\Repsotiroy::init(string $path [, bool isBare])
219+
{{{ proto: Git2\Repository::init(string $path [, bool isBare])
220220
*/
221221
PHP_METHOD(git2_repository, init)
222222
{
@@ -247,7 +247,7 @@ PHP_METHOD(git2_repository, init)
247247
/* }}} */
248248

249249
/*
250-
{{{ proto: Git2\Repsotiroy::headDetached()
250+
{{{ proto: Git2\Repository::headDetached()
251251
A repository's HEAD is detached when it points directly to a commit instead of a branch.
252252
*/
253253
PHP_METHOD(git2_repository, headDetached)
@@ -268,7 +268,7 @@ PHP_METHOD(git2_repository, headDetached)
268268
/* }}} */
269269

270270
/*
271-
{{{ proto: Git2\Repsotiroy::headOrphan()
271+
{{{ proto: Git2\Repository::headOrphan()
272272
An orphan branch is one named from HEAD but which doesn't exist in
273273
the refs namespace, because it doesn't have any commit to point to.
274274
*/
@@ -290,7 +290,7 @@ PHP_METHOD(git2_repository, headOrphan)
290290
/* }}} */
291291

292292
/*
293-
{{{ proto: Git2\Repsotiroy::discover(string $path[, bool across_fs, string ceiling_dirs])
293+
{{{ proto: Git2\Repository::discover(string $path[, bool across_fs, string ceiling_dirs])
294294
*/
295295
PHP_METHOD(git2_repository, discover)
296296
{
@@ -314,7 +314,7 @@ PHP_METHOD(git2_repository, discover)
314314
/* }}} */
315315

316316
/*
317-
{{{ proto: Git2\Repsotiroy::exists(string $sha1)
317+
{{{ proto: Git2\Repository::exists(string $sha1)
318318
*/
319319
PHP_METHOD(git2_repository, exists)
320320
{
@@ -347,7 +347,7 @@ PHP_METHOD(git2_repository, exists)
347347

348348

349349
/*
350-
{{{ proto: Git2\Repsotiroy::lookup(string $sha1[, int type = GIT_OBJ_ANY])
350+
{{{ proto: Git2\Repository::lookup(string $sha1[, int type = GIT_OBJ_ANY])
351351
*/
352352
PHP_METHOD(git2_repository, lookup)
353353
{
@@ -385,7 +385,7 @@ PHP_METHOD(git2_repository, lookup)
385385
/* }}} */
386386

387387
/*
388-
{{{ proto: Git2\Repsotiroy::write(string $contents, int $type)
388+
{{{ proto: Git2\Repository::write(string $contents, int $type)
389389
*/
390390
PHP_METHOD(git2_repository, write)
391391
{
@@ -423,7 +423,7 @@ PHP_METHOD(git2_repository, write)
423423
/* }}} */
424424

425425
/*
426-
{{{ proto: Git2\Repsotiroy::hash(string $contents, int $type)
426+
{{{ proto: Git2\Repository::hash(string $contents, int $type)
427427
*/
428428
PHP_METHOD(git2_repository, hash)
429429
{

0 commit comments

Comments
 (0)