Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ErfanBahramali committed Apr 27, 2021
1 parent 5fc3704 commit 8932394
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Rubika-PHP is a PHP Library for interaction with rubika (social network)
composer require bahramali/rubika-php
```
## Usage
*object_guid($user_guid,$group_guid,$channel_guid and other) is a unique code for user, group, channel and other*
```php
set_time_limit(0);
require_once __DIR__ . '/vendor/autoload.php';
Expand Down Expand Up @@ -74,9 +75,6 @@ $account->votePoll($poll_id, $selection_index);
## Example
* [`parrot.php`](https://github.com/ErfanBahramali/Rubika-PHP/blob/main/examples/parrot.php)


## Disclaimer

## About Us
This library can be used for easy interaction with Rubika just like official applications.

Expand Down
1 change: 0 additions & 1 deletion examples/parrot.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env php
<?php

/**
Expand Down
4 changes: 2 additions & 2 deletions src/RubikaPHP.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env php
<?php

/**
Expand Down Expand Up @@ -180,8 +179,9 @@ public function sendOptionRequest(string $url)
// CURLOPT_VERBOSE => true,
]);
curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
return curl_getinfo($ch, CURLINFO_HTTP_CODE);
return $httpCode;
}

/**
Expand Down
1 change: 0 additions & 1 deletion src/crypto.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env php
<?php

/**
Expand Down

0 comments on commit 8932394

Please sign in to comment.