Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
TelegramBot
Commits
9fe26fe4
Commit
9fe26fe4
authored
Feb 04, 2016
by
Armando Lüscher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split `@param` and `@return` with an empty line to make it more readable.
parent
ba4b607a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
DateCommand.php
src/Commands/DateCommand.php
+4
-0
WeatherCommand.php
src/Commands/WeatherCommand.php
+2
-0
No files found.
src/Commands/DateCommand.php
View file @
9fe26fe4
...
...
@@ -80,6 +80,7 @@ class DateCommand extends Command
* Get coordinates
*
* @param string $location
*
* @return array|boolean
*/
private
function
getCoordinates
(
$location
)
...
...
@@ -119,6 +120,7 @@ class DateCommand extends Command
*
* @param string $lat
* @param string $lng
*
* @return array|boolean
*/
private
function
getDate
(
$lat
,
$lng
)
...
...
@@ -159,6 +161,7 @@ class DateCommand extends Command
* Get formatted date
*
* @param string $location
*
* @return string
*/
private
function
getFormattedDate
(
$location
)
...
...
@@ -184,6 +187,7 @@ class DateCommand extends Command
* Perform a simple cURL request
*
* @param string $url
*
* @return object
*/
private
function
request
(
$url
)
...
...
src/Commands/WeatherCommand.php
View file @
9fe26fe4
...
...
@@ -65,6 +65,7 @@ class WeatherCommand extends Command
* Get weather using cURL request
*
* @param string $location
*
* @return object
*/
private
function
getWeather
(
$location
)
...
...
@@ -100,6 +101,7 @@ class WeatherCommand extends Command
* Get weather string
*
* @param string $location
*
* @return bool|string
*/
private
function
getWeatherString
(
$location
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment