Subject | Hash | Author | Date (UTC) |
---|---|---|---|
error checks | 8b899df6bfc00397ddd8b874f8d603f5e5fc813d | Ivaylo Iliev | 2017-08-27 23:07:18 |
add some docblocks | a8a8b7ca6436d8be7eae177e163f5f3846a3850e | Ivaylo Iliev | 2017-08-27 22:34:55 |
update readme | 0526d98854866a43c3f72c2a28f2e7a3693d11c7 | Ivaylo Iliev | 2017-08-27 22:27:47 |
import variable days | b9719a68e4a21fbf418b7e82353e48d77e5f0247 | Ivaylo Iliev | 2017-08-27 22:27:38 |
update readme | e3951190baa0e679f87cf878f1ebfee910be6da2 | Ivaylo Iliev | 2017-08-27 22:04:18 |
best month | 049d1757e5bab195dbd4374c0f3cba19a263e0e2 | Ivaylo Iliev | 2017-08-27 22:01:20 |
best year | 9c830895cacc9ae9206901d3eabdc6b21488d718 | Ivaylo Iliev | 2017-08-27 21:57:46 |
fix docblock | 20f563de5a256acde8c4a2335bf5779c670c61a0 | Ivaylo Iliev | 2017-08-27 21:22:50 |
strong typing | c5314f47704760d3720f0c92bd3da9e3c7299eea | Ivaylo Iliev | 2017-08-27 21:15:11 |
change boolean to bool and add /neo/fastest?hazardous=(true|false) | aa0b6fc0d2ab78404e4677863aafae1dd27bead0 | Ivaylo Iliev | 2017-08-27 21:07:44 |
fix cases | 7fd7024355b538de353f032f69f8e4a1ee5f0b6b | Ivaylo Iliev | 2017-08-27 20:56:14 |
/neo/hazardous | 61f9c4506a8ddf037f6cd670afdaa4f38f44829c | Ivaylo Iliev | 2017-08-27 20:54:40 |
cleanup | 98f98692a290d3cd6e76b36e48be6610754640db | Ivaylo Iliev | 2017-08-27 20:54:24 |
update nasa.start with parameters | 4cec4383b574a0ac874e463cacfc006fb001f14c | Ivaylo Iliev | 2017-08-27 20:32:01 |
import from api | 41affca95695f99674971d59dc3e098ef54a934b | Ivaylo Iliev | 2017-08-27 19:34:49 |
initialize on first run | a7eb6521e87bf6f7fc8ac746db7241300473b549 | Ivaylo Iliev | 2017-08-27 17:26:30 |
update build scripts | 0ca23c79e7f0c2e0a2beae8ea676d1bc6c6c237f | Ivaylo Iliev | 2017-08-27 16:23:17 |
neo bundle, neo entity, empty command | 5df95da9f7d462e891685b5556abeae1abdd28b4 | Ivaylo Iliev | 2017-08-27 16:11:31 |
add mysql | 798d32267444f4f26ce9215817720217970c5e06 | Ivaylo Iliev | 2017-08-27 14:33:00 |
run and build script | a91daf3d789ac334eca951731504f1a17e79952d | Ivaylo Iliev | 2017-08-27 10:52:34 |
File | Lines added | Lines deleted |
---|---|---|
src/nasa/src/NeoBundle/Repository/NeoRepository.php | 2 | 2 |
File src/nasa/src/NeoBundle/Repository/NeoRepository.php changed (mode: 100644) (index 86cc865..fe7d785) | |||
... | ... | class NeoRepository extends EntityRepository | |
60 | 60 | ||
61 | 61 | $result = $stmt->fetchAll(); | $result = $stmt->fetchAll(); |
62 | 62 | ||
63 | return $result[0]['year']; | ||
63 | return count($result) > 0 ? $result[0]['year'] : null; | ||
64 | 64 | } | } |
65 | 65 | ||
66 | 66 | /** | /** |
... | ... | class NeoRepository extends EntityRepository | |
80 | 80 | ||
81 | 81 | $result = $stmt->fetchAll(); | $result = $stmt->fetchAll(); |
82 | 82 | ||
83 | return $result[0]['month']; | ||
83 | return count($result) > 0 ? $result[0]['month'] : null; | ||
84 | 84 | } | } |
85 | 85 | ||
86 | 86 | /** | /** |